summaryrefslogtreecommitdiff
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
commit351b6391bf14eb407df28039558777238067afab (patch)
tree625292e5930804221229175e6754610f13642e8d
parent980b80ddc6aeb06843ecbc44955943e6b3957dfb (diff)
downloadmtk-20170518-351b6391bf14eb407df28039558777238067afab.zip
mtk-20170518-351b6391bf14eb407df28039558777238067afab.tar.gz
mtk-20170518-351b6391bf14eb407df28039558777238067afab.tar.bz2
add another check to the dependencies
SVN-Revision: 11475
-rw-r--r--include/toplevel.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/toplevel.mk b/include/toplevel.mk
index e85ed2d..906a9a1 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); \