summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-06-15 14:50:41 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-06-15 14:50:41 +0000
commit387d34915b8bc5df9c81c31ff92f26cdf2fd712f (patch)
treed7331e326f8347c043e9614ee3468f81afe39a9a /include
parent18c6fa2b2f7cdf31bd054e94d1b62a797c32e8ed (diff)
add another check to the dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11475 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r--include/toplevel.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/toplevel.mk b/include/toplevel.mk
index e85ed2d33..906a9a125 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); \