2018-08-16 17:54:31 -05:00
|
|
|
# SONiC make file
|
2016-08-04 12:39:33 -05:00
|
|
|
|
2019-05-27 17:50:51 -05:00
|
|
|
NOJESSIE ?= 0
|
2020-02-02 14:04:18 -06:00
|
|
|
NOSTRETCH ?= 0
|
2016-10-31 23:50:59 -05:00
|
|
|
|
2016-12-05 13:12:19 -06:00
|
|
|
%::
|
2018-08-16 17:54:31 -05:00
|
|
|
@echo "+++ --- Making $@ --- +++"
|
2019-05-27 17:50:51 -05:00
|
|
|
ifeq ($(NOJESSIE), 0)
|
2020-02-02 14:04:18 -06:00
|
|
|
EXTRA_DOCKER_TARGETS=$(notdir $@) make -f Makefile.work jessie
|
2017-09-22 02:57:23 -05:00
|
|
|
endif
|
2020-02-02 14:04:18 -06: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 12:39:33 -05:00
|
|
|
|
2019-05-27 17:50:51 -05:00
|
|
|
jessie:
|
2018-08-16 17:54:31 -05:00
|
|
|
@echo "+++ Making $@ +++"
|
2019-05-27 17:50:51 -05:00
|
|
|
ifeq ($(NOJESSIE), 0)
|
|
|
|
make -f Makefile.work jessie
|
2018-08-16 17:54:31 -05:00
|
|
|
endif
|
2017-12-21 13:15:06 -06:00
|
|
|
|
2020-02-02 14:04:18 -06:00
|
|
|
stretch:
|
|
|
|
@echo "+++ Making $@ +++"
|
|
|
|
ifeq ($(NOSTRETCH), 0)
|
|
|
|
make -f Makefile.work stretch
|
|
|
|
endif
|
2020-02-02 14:03:34 -06:00
|
|
|
|
2020-12-09 16:13:33 -06:00
|
|
|
init:
|
|
|
|
@echo "+++ Making $@ +++"
|
|
|
|
make -f Makefile.work $@
|
|
|
|
|
|
|
|
clean configure reset showtag sonic-slave-build sonic-slave-bash :
|
2018-08-16 17:54:31 -05:00
|
|
|
@echo "+++ Making $@ +++"
|
2019-10-01 23:12:19 -05:00
|
|
|
ifeq ($(NOJESSIE), 0)
|
|
|
|
make -f Makefile.work $@
|
|
|
|
endif
|
2020-02-02 14:04:18 -06:00
|
|
|
ifeq ($(NOSTRETCH), 0)
|
2019-05-27 17:50:51 -05:00
|
|
|
BLDENV=stretch make -f Makefile.work $@
|
2020-02-02 14:04:18 -06:00
|
|
|
endif
|
|
|
|
BLDENV=buster make -f Makefile.work $@
|
2020-12-21 01:31:10 -06:00
|
|
|
|
|
|
|
# Freeze the versions, see more detail options: scripts/versions_manager.py freeze -h
|
|
|
|
freeze:
|
|
|
|
@scripts/versions_manager.py freeze $(FREEZE_VERSION_OPTIONS)
|