[makefile] re-organize make file so init only execute once (#6160)
- Why I did it make init executed 3 times, which is unnecessary. - How I did it reorganize the makefile so that init only executed once. - How to verify it make reset make init Signed-off-by: Ying Xie <ying.xie@microsoft.com>
This commit is contained in:
parent
0ffadf357e
commit
68f1352159
6
Makefile
6
Makefile
@ -25,7 +25,11 @@ ifeq ($(NOSTRETCH), 0)
|
||||
make -f Makefile.work stretch
|
||||
endif
|
||||
|
||||
clean reset init configure showtag sonic-slave-build sonic-slave-bash :
|
||||
init:
|
||||
@echo "+++ Making $@ +++"
|
||||
make -f Makefile.work $@
|
||||
|
||||
clean configure reset showtag sonic-slave-build sonic-slave-bash :
|
||||
@echo "+++ Making $@ +++"
|
||||
ifeq ($(NOJESSIE), 0)
|
||||
make -f Makefile.work $@
|
||||
|
Loading…
Reference in New Issue
Block a user