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 e85ed2d..906a9a1 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); \