aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-06-15 14:50:41 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-06-15 14:50:41 +0000
commit06d1bc5f5d3e055f9c202749cef4cb9c554d9834 (patch)
treed7331e326f8347c043e9614ee3468f81afe39a9a
parentfa5af5e58085a9c3ab1ef15b94766aae1d147ee9 (diff)
downloadupstream-06d1bc5f5d3e055f9c202749cef4cb9c554d9834.tar.gz
upstream-06d1bc5f5d3e055f9c202749cef4cb9c554d9834.tar.bz2
upstream-06d1bc5f5d3e055f9c202749cef4cb9c554d9834.zip
add another check to the dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11475 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--include/toplevel.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/toplevel.mk b/include/toplevel.mk
index e85ed2d33e..906a9a1255 100644
--- a/include/toplevel.mk
+++ b/include/toplevel.mk
@@ -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); \