01cb7934b0
- build SONIC_STRETCH_DOCKERS in sonic-slave-stretch docker - build image related module in sonic-slave-buster docker. This includes all kernels modules and some packages Signed-off-by: Guohan Lu <lguohan@gmail.com>
37 lines
784 B
Makefile
37 lines
784 B
Makefile
# SONiC make file
|
|
|
|
NOJESSIE ?= 0
|
|
NOSTRETCH ?= 0
|
|
|
|
%::
|
|
@echo "+++ --- Making $@ --- +++"
|
|
ifeq ($(NOJESSIE), 0)
|
|
EXTRA_DOCKER_TARGETS=$(notdir $@) make -f Makefile.work jessie
|
|
endif
|
|
ifeq ($(NOSTRETCH), 0)
|
|
EXTRA_DOCKER_TARGETS=$(notdir $@) BLDENV=stretch make -f Makefile.work stretch
|
|
endif
|
|
BLDENV=buster make -f Makefile.work $@
|
|
|
|
jessie:
|
|
@echo "+++ Making $@ +++"
|
|
ifeq ($(NOJESSIE), 0)
|
|
make -f Makefile.work jessie
|
|
endif
|
|
|
|
stretch:
|
|
@echo "+++ Making $@ +++"
|
|
ifeq ($(NOSTRETCH), 0)
|
|
make -f Makefile.work stretch
|
|
endif
|
|
|
|
clean reset init configure showtag sonic-slave-build sonic-slave-bash :
|
|
@echo "+++ Making $@ +++"
|
|
ifeq ($(NOJESSIE), 0)
|
|
make -f Makefile.work $@
|
|
endif
|
|
ifeq ($(NOSTRETCH), 0)
|
|
BLDENV=stretch make -f Makefile.work $@
|
|
endif
|
|
BLDENV=buster make -f Makefile.work $@
|