make menuconfig sollte nciht zweimal durchlaufen

This commit is contained in:
Joerg Bornschein 2013-09-22 16:25:43 +02:00
parent 4fc8f46a14
commit 6d739b5f74
1 changed files with 3 additions and 2 deletions

View File

@ -201,10 +201,11 @@ autoconf.h .config:
@echo make\'s goal: $(MAKECMDGOALS) @echo make\'s goal: $(MAKECMDGOALS)
ifneq ($(MAKECMDGOALS),menuconfig) ifneq ($(MAKECMDGOALS),menuconfig)
# make sure menuconfig isn't called twice, on `make menuconfig' # make sure menuconfig isn't called twice, on `make menuconfig'
test -s autoconf.h -a -s .config || $(MAKE) no_deps=t menuconfig #test -s autoconf.h -a -s .config || $(MAKE) no_deps=t menuconfig
# test the target file, test fails if it doesn't exist # test the target file, test fails if it doesn't exist
# and will keep make from looping menuconfig. # and will keep make from looping menuconfig.
test -s autoconf.h -a -s .config #test -s autoconf.h -a -s .config
touch autoconf.h .config
endif endif
include depend.mk include depend.mk