kernel: make sure all patches are applied before running menuconfig or oldconfig
authorFelix Fietkau <nbd@openwrt.org>
Tue, 21 Apr 2009 13:08:56 +0000 (13:08 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 21 Apr 2009 13:08:56 +0000 (13:08 +0000)
SVN-Revision: 15325

include/kernel-build.mk

index 477c9ee..d48f8b9 100644 (file)
@@ -77,7 +77,7 @@ define BuildKernel
   compile: $(LINUX_DIR)/.modules
        $(MAKE) -C image compile TARGET_BUILD=
 
-  oldconfig menuconfig: $(STAMP_PREPARED) FORCE
+  oldconfig menuconfig: $(STAMP_PREPARED) $(STAMP_CHECKED) FORCE
        [ -e "$(LINUX_CONFIG)" ] || touch "$(LINUX_CONFIG)"
        $(LINUX_CONFCMD) > $(LINUX_DIR)/.config
        touch $(LINUX_CONFIG)