sonic-buildimage/Makefile
Ying Xie 1515e39e71 [makefile] build Jessie slave unless NOJESSIE is specified (#3546)
* [makefile] build Jessie slave unless NOJESSIE is specified
* fix if condition
2019-10-01 21:12:19 -07:00

24 lines
495 B
Makefile

# SONiC make file
NOJESSIE ?= 0
%::
@echo "+++ --- Making $@ --- +++"
ifeq ($(NOJESSIE), 0)
EXTRA_JESSIE_TARGETS=$(notdir $@) make -f Makefile.work jessie
endif
BLDENV=stretch make -f Makefile.work $@
jessie:
@echo "+++ Making $@ +++"
ifeq ($(NOJESSIE), 0)
make -f Makefile.work jessie
endif
clean reset init configure showtag sonic-slave-build sonic-slave-bash :
@echo "+++ Making $@ +++"
ifeq ($(NOJESSIE), 0)
make -f Makefile.work $@
endif
BLDENV=stretch make -f Makefile.work $@