summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.in2
-rw-r--r--Rules.mak2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 7e4582a0d..3d3ba3d8f 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -498,7 +498,7 @@ clean: include_clean
$(Q)$(RM) $(top_builddir)extra/scripts/unifdef
$(Q)$(RM) -r $(LOCAL_INSTALL_PATH)
-distclean: clean
+distclean: realclean
-find . \( -name core -o -name \*.orig -o -name \*~ -o -name .\*.dep \) -exec $(RM) {} \;
$(RM) $(top_builddir).config $(top_builddir).config.old $(top_builddir).config.cmd
$(Q)$(RM) $(top_builddir)extra/locale/*.tgz
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)