don't include .config if DUMP is set
authorFelix Fietkau <nbd@openwrt.org>
Tue, 26 Jun 2007 20:24:55 +0000 (20:24 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 26 Jun 2007 20:24:55 +0000 (20:24 +0000)
SVN-Revision: 7738

rules.mk

index 1419f2f..6fbf88f 100644 (file)
--- a/rules.mk
+++ b/rules.mk
@@ -5,7 +5,9 @@
 # See /LICENSE for more information.
 #
 
--include $(TOPDIR)/.config
+ifeq ($(DUMP),)
+  -include $(TOPDIR)/.config
+endif
 include $(TOPDIR)/include/verbose.mk
 
 export SHELL=/usr/bin/env bash -c '. $(TOPDIR)/include/shell.sh; eval "$$2"' --