summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-12-20 13:59:03 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-12-20 13:59:03 +0100
commit0096e0dff7945660405f965effc065493ae80ac7 (patch)
treecde5681c1efced52d6165bceab94583594f8686b
parentb45cffc3ca9a2be98b00ce58744021af0e24c479 (diff)
buildsys: Fix error on config clean in realclean
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-rw-r--r--Makefile.in1
-rw-r--r--Makerules2
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 946e14e9f..9d06069f7 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -174,6 +174,7 @@ HEADERCLEAN_common:
headers_clean-y += HEADERCLEAN_common
HEADERCLEAN_config:
$(do_rm) -r $(addprefix $(top_builddir)include/,config generated)
+menuconfig-clean-y: HEADERCLEAN_config
# The headers. Arch specific headers are specified via ARCH_HEADERS in
# libc/sysdeps/linux/$(TARGET_ARCH)/Makefile.arch which appends those via
diff --git a/Makerules b/Makerules
index 5518b1572..5030205c4 100644
--- a/Makerules
+++ b/Makerules
@@ -488,7 +488,7 @@ files.dep := $(libc-a-y) $(libc-so-y) $(libc-nonshared-y) \
FORCE:
clean: objclean-y headers_clean-y
-realclean: clean HEADERCLEAN_config menuconfig-clean-y
+realclean: clean menuconfig-clean-y
$(Q)$(RM) $(.depends.dep)
objclean-y: $(objclean-y)