add another check to the dependencies
authorFelix Fietkau <nbd@openwrt.org>
Sun, 15 Jun 2008 14:50:41 +0000 (14:50 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 15 Jun 2008 14:50:41 +0000 (14:50 +0000)
SVN-Revision: 11475

include/toplevel.mk

index e85ed2d33ed0b3ede12620d5d747529e6d415de1..906a9a1255723a11f1baaa653b9d35b55a33b907 100644 (file)
@@ -44,7 +44,7 @@ prepare-tmpinfo: FORCE
        ./scripts/metadata.pl package_mk tmp/.packageinfo > tmp/.packagedeps || { rm -f tmp/.packagedeps; false; }
        touch $(TOPDIR)/tmp/.build
 
-.config: ./scripts/config/conf prepare-tmpinfo
+.config: ./scripts/config/conf prepare-tmpinfo $(if $(CONFIG_HAVE_DOT_CONFIG),,FORCE)
        @+if [ \! -f .config ] || ! grep CONFIG_HAVE_DOT_CONFIG .config >/dev/null; then \
                [ -e $(HOME)/.openwrt/defconfig ] && cp $(HOME)/.openwrt/defconfig .config; \
                $(NO_TRACE_MAKE) menuconfig $(PREP_MK); \