a8ccf589c9
* [makefile] Rename Makefile to Makefile.work Signed-off-by: Ying Xie <ying.xie@microsoft.com> * [makefile] Add new make file to avoid extra step * avoiding calling "make stretch" Signed-off-by: Ying Xie <ying.xie@microsoft.com> * [makefile] allow skipping "make stretch" Signed-off-by: Ying Xie <ying.xie@microsoft.com> * [makefile] add all PHONY targets to pass through list Signed-off-by: Ying Xie <ying.xie@microsoft.com>
21 lines
413 B
Makefile
21 lines
413 B
Makefile
# SONiC make file
|
|
|
|
NOSTRETCH ?= 0
|
|
|
|
%::
|
|
@echo "+++ --- Making $@ --- +++"
|
|
ifeq ($(NOSTRETCH), 0)
|
|
BLDENV=stretch make -f Makefile.work stretch
|
|
endif
|
|
make -f Makefile.work $@
|
|
|
|
stretch:
|
|
@echo "+++ Making $@ +++"
|
|
ifeq ($(NOSTRETCH), 0)
|
|
BLDENV=stretch make -f Makefile.work stretch
|
|
endif
|
|
|
|
clean reset init configure showtag sonic-slave-build sonic-slave-bash :
|
|
@echo "+++ Making $@ +++"
|
|
make -f Makefile.work $@
|