瀏覽代碼

prepare .config before testing for missing options

SVN-Revision: 26700
Felix Fietkau 15 年之前
父節點
當前提交
83de49ae81
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/toplevel.mk

+ 1 - 1
include/toplevel.mk

@@ -133,6 +133,7 @@ prereq:: prepare-tmpinfo .config
 	@+$(NO_TRACE_MAKE) -r -s $@
 
 %::
+	@+$(PREP_MK) $(NO_TRACE_MAKE) -r -s prereq
 	@( \
 		cp .config tmp/.config; \
 		./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!"; \
 		fi \
 	)
-	@+$(PREP_MK) $(NO_TRACE_MAKE) -r -s prereq
 	@+$(SUBMAKE) -r $@
 
 help: