prepare .config before testing for missing options

SVN-Revision: 26700
This commit is contained in:
Felix Fietkau 2011-04-17 02:16:52 +00:00
parent 8b18ce6807
commit 83de49ae81

View File

@ -133,6 +133,7 @@ prereq:: prepare-tmpinfo .config
@+$(NO_TRACE_MAKE) -r -s $@ @+$(NO_TRACE_MAKE) -r -s $@
%:: %::
@+$(PREP_MK) $(NO_TRACE_MAKE) -r -s prereq
@( \ @( \
cp .config tmp/.config; \ cp .config tmp/.config; \
./scripts/config/conf -D tmp/.config -w tmp/.config Config.in > /dev/null 2>&1; \ ./scripts/config/conf -D tmp/.config -w tmp/.config Config.in > /dev/null 2>&1; \
@ -140,7 +141,6 @@ prereq:: prepare-tmpinfo .config
echo "WARNING: your configuration is out of sync. Please run make menuconfig, oldconfig or defconfig!"; \ echo "WARNING: your configuration is out of sync. Please run make menuconfig, oldconfig or defconfig!"; \
fi \ fi \
) )
@+$(PREP_MK) $(NO_TRACE_MAKE) -r -s prereq
@+$(SUBMAKE) -r $@ @+$(SUBMAKE) -r $@
help: help: