Browse Source

make menuconfig sollte nciht zweimal durchlaufen

feature/2015
Joerg Bornschein 11 years ago
parent
commit
6d739b5f74
  1. 5
      Makefile

5
Makefile

@ -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

Loading…
Cancel
Save