2018-08-17 01:54:31 +03:00
|
|
|
# SONiC make file
|
2016-08-04 20:39:33 +03:00
|
|
|
|
2019-05-28 01:50:51 +03:00
|
|
|
NOJESSIE ?= 0
|
2020-02-02 23:04:18 +03:00
|
|
|
NOSTRETCH ?= 0
|
2016-11-01 07:50:59 +03:00
|
|
|
|
2016-12-05 22:12:19 +03:00
|
|
|
%::
|
2018-08-17 01:54:31 +03:00
|
|
|
@echo "+++ --- Making $@ --- +++"
|
2019-05-28 01:50:51 +03:00
|
|
|
ifeq ($(NOJESSIE), 0)
|
2020-02-02 23:04:18 +03:00
|
|
|
EXTRA_DOCKER_TARGETS=$(notdir $@) make -f Makefile.work jessie
|
2017-09-22 10:57:23 +03:00
|
|
|
endif
|
2020-02-02 23:04:18 +03:00
|
|
|
ifeq ($(NOSTRETCH), 0)
|
|
|
|
EXTRA_DOCKER_TARGETS=$(notdir $@) BLDENV=stretch make -f Makefile.work stretch
|
|
|
|
endif
|
|
|
|
BLDENV=buster make -f Makefile.work $@
|
2016-08-04 20:39:33 +03:00
|
|
|
|
2019-05-28 01:50:51 +03:00
|
|
|
jessie:
|
2018-08-17 01:54:31 +03:00
|
|
|
@echo "+++ Making $@ +++"
|
2019-05-28 01:50:51 +03:00
|
|
|
ifeq ($(NOJESSIE), 0)
|
|
|
|
make -f Makefile.work jessie
|
2018-08-17 01:54:31 +03:00
|
|
|
endif
|
2017-12-21 22:15:06 +03:00
|
|
|
|
2020-02-02 23:04:18 +03:00
|
|
|
stretch:
|
|
|
|
@echo "+++ Making $@ +++"
|
|
|
|
ifeq ($(NOSTRETCH), 0)
|
|
|
|
make -f Makefile.work stretch
|
|
|
|
endif
|
2020-02-02 23:03:34 +03:00
|
|
|
|
2018-08-17 01:54:31 +03:00
|
|
|
clean reset init configure showtag sonic-slave-build sonic-slave-bash :
|
|
|
|
@echo "+++ Making $@ +++"
|
2019-10-02 07:12:19 +03:00
|
|
|
ifeq ($(NOJESSIE), 0)
|
|
|
|
make -f Makefile.work $@
|
|
|
|
endif
|
2020-02-02 23:04:18 +03:00
|
|
|
ifeq ($(NOSTRETCH), 0)
|
2019-05-28 01:50:51 +03:00
|
|
|
BLDENV=stretch make -f Makefile.work $@
|
2020-02-02 23:04:18 +03:00
|
|
|
endif
|
|
|
|
BLDENV=buster make -f Makefile.work $@
|