From 8b41afa584e513ec64156fc15058a0f6888d6b56 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 15 Jun 2008 14:34:00 +0000 Subject: add some sanity checking SVN-Revision: 11473 --- include/toplevel.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/toplevel.mk b/include/toplevel.mk index 606e3e5844..e13d66781a 100644 --- a/include/toplevel.mk +++ b/include/toplevel.mk @@ -45,7 +45,7 @@ prepare-tmpinfo: FORCE touch $(TOPDIR)/tmp/.build .config: ./scripts/config/conf prepare-tmpinfo - @+if [ \! -f .config ]; then \ + @+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); \ fi -- cgit v1.2.3