summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-04-04 00:31:03 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-04-04 00:32:46 +0200
commit6264f45095de0953745b447598ab44dce5e7a322 (patch)
tree24d6ee1b7d53ab7f29a1ed867e4cdf9420e231fd /Rules.mak
parente80657059aa21aaf24beebb99abc842b8ee0ca80 (diff)
buildsys: fix realclean
For anything but (toplevel) clean, CLEAN_%, we need .config Otherwise realclean would leave stuff behind that was not intended to survive. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rules.mak b/Rules.mak
index c2eb2a611..2c8fabcc2 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -84,7 +84,7 @@ qstrip = $(strip $(subst ",,$(1)))
KCONFIG_CONFIG ?= $(top_builddir).config
# Pull in the user's uClibc configuration
-ifeq ($(filter $(noconfig_targets) $(clean_targets) CLEAN_%,$(MAKECMDGOALS)),)
+ifeq ($(filter $(noconfig_targets) clean CLEAN_%,$(MAKECMDGOALS)),)
# Prevent make from searching
__ABS_KCONFIG_CONFIG ?= $(abspath $(KCONFIG_CONFIG))
-include $(__ABS_KCONFIG_CONFIG)