summaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-06-10 18:30:43 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-06-10 18:30:43 +0000
commit5b83f5ffe12c513b852235b01de0a723cf39945b (patch)
tree2d6c5d96e8236ccdff3fed8debbb5118b87d6313 /Makerules
parenta7afdf1cacc93d2239977dbadd7a16e3653e3a33 (diff)
- no need to export the included dependencies generated by cc
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules12
1 files changed, 8 insertions, 4 deletions
diff --git a/Makerules b/Makerules
index b068651ba..3e3dff93b 100644
--- a/Makerules
+++ b/Makerules
@@ -364,10 +364,6 @@ files.dep := $(libc-a-y) $(libc-so-y) $(libc-nonshared-y) \
.depends.dep := $(foreach f,$(.depends.dep),$(dir $(f)).$(notdir $(f)))
.depends.dep := $(wildcard $(.depends.dep))
-ifneq ($(strip $(.depends.dep)),)
--include $(.depends.dep)
-endif
-
.PHONY: dummy $(PHONY)
FORCE:
@@ -382,3 +378,11 @@ headers_clean-y: $(headers_clean-y)
all check clean realclean distclean test \
config dist menuconfig oldconfig release \
subdirs utils
+
+ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),)
+ifneq ($(strip $(.depends.dep)),)
+.NOEXPORT:
+-include $(.depends.dep)
+endif
+endif
+