-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[build]: make sonic-slave-stretch as the default build docker (#2921)
Signed-off-by: Guohan Lu <[email protected]>
- Loading branch information
Showing
10 changed files
with
39 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
# SONiC make file | ||
|
||
NOSTRETCH ?= 0 | ||
NOJESSIE ?= 0 | ||
|
||
%:: | ||
@echo "+++ --- Making $@ --- +++" | ||
ifeq ($(NOSTRETCH), 0) | ||
BLDENV=stretch EXTRA_STRETCH_TARGETS=$(notdir $@) make -f Makefile.work stretch | ||
ifeq ($(NOJESSIE), 0) | ||
EXTRA_JESSIE_TARGETS=$(notdir $@) make -f Makefile.work jessie | ||
endif | ||
make -f Makefile.work $@ | ||
BLDENV=stretch make -f Makefile.work $@ | ||
|
||
stretch: | ||
jessie: | ||
@echo "+++ Making $@ +++" | ||
ifeq ($(NOSTRETCH), 0) | ||
BLDENV=stretch make -f Makefile.work stretch | ||
ifeq ($(NOJESSIE), 0) | ||
make -f Makefile.work jessie | ||
endif | ||
|
||
clean reset init configure showtag sonic-slave-build sonic-slave-bash : | ||
@echo "+++ Making $@ +++" | ||
make -f Makefile.work $@ | ||
BLDENV=stretch make -f Makefile.work $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters