It does not break architectures but they are also affected by the fact that
clean has taken over the job from mrproper.
So archclean and archmrproper has become the same.
I have not changed what is deleted, the difference is that I have moved
even more to the clean stage.
Try with
$make KBUILD_VERBOSE=0 distclean
and let me know if more info is required in the condensed format.
Sam
===== Makefile 1.346 vs edited =====
--- 1.346/Makefile Sat Nov 9 05:08:32 2002
+++ edited/Makefile Fri Nov 15 22:15:29 2002
@@ -662,20 +662,17 @@
# make distclean Remove editor backup files, patch leftover files and the like
# Files removed with 'make clean'
-CLEAN_FILES += vmlinux System.map MC*
-
-# Files removed with 'make mrproper'
-MRPROPER_FILES += \
+CLEAN_FILES += vmlinux System.map MC* \
include/linux/autoconf.h include/linux/version.h \
.version .config .config.old config.in config.old \
.menuconfig.log \
include/asm \
.hdepend include/linux/modversions.h \
tags TAGS kernel.spec \
- .tmp*
+ .tmp* $(MRPROPER_FILES)
# Directories removed with 'make mrproper'
-MRPROPER_DIRS += \
+CLEAN_DIRS += $(MRPROPER_DIRS) \
.tmp_export-objs \
include/config \
include/linux/modules
@@ -687,27 +684,37 @@
$(addprefix _clean_,$(clean-dirs)):
$(Q)$(MAKE) -f scripts/Makefile.clean obj=$(patsubst _clean_%,%,$@)
-quiet_cmd_rmclean = RM $$(CLEAN_FILES)
-cmd_rmclean = rm -f $(CLEAN_FILES)
-clean: archclean $(addprefix _clean_,$(clean-dirs))
- $(call cmd,rmclean)
- @find . $(RCS_FIND_IGNORE) \
+quiet_cmd_rmclean = CLEAN $$(CLEAN_FILES)
+ cmd_rmclean = rm -f $(CLEAN_FILES)
+quiet_cmd_rmdclean = CLEAN $$(CLEAN_DIRS)
+ cmd_rmdclean = rm -rf $(CLEAN_DIRS)
+quiet_cmd_rmsclean = CLEAN *.[oas] in the srctree
+ cmd_rmsclean = find . $(RCS_FIND_IGNORE) \
\( -name '*.[oas]' -o -name '.*.cmd' -o -name '.*.d' \
-o -name '.*.tmp' \) -type f -print | xargs rm -f
-# mrproper - delete configuration + modules + core files
+clean: archclean archmrproper $(addprefix _clean_,$(clean-dirs))
+ $(call cmd,rmclean)
+ $(call cmd,rmdclean)
+ $(call cmd,rmsclean)
+
+# mrproper - 'make clean' + delete configuration
#
-quiet_cmd_mrproper = RM $$(MRPROPER_DIRS) + $$(MRPROPER_FILES)
-cmd_mrproper = rm -rf $(MRPROPER_DIRS) && rm -f $(MRPROPER_FILES)
-mrproper distclean: clean archmrproper
- @echo ' Making $@ in the srctree'
- @find . $(RCS_FIND_IGNORE) \
+quiet_cmd_mrproper = RM .config .config.old
+ cmd_mrproper = rm -rf .config .config.old
+mrproper: clean archmrproper
+ $(call cmd,mrproper)
+
+quiet_cmd_distclean = DISTCLEAN
+ cmd_distclean = find . $(RCS_FIND_IGNORE) \
\( -name '*.orig' -o -name '*.rej' -o -name '*~' \
- -o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \
+ -o -name '*.bak' -o -name '\#*\#' -o -name '.*.orig' \
-o -name '.*.rej' -o -size 0 \
-o -name '*%' -o -name '.*.cmd' -o -name 'core' \) \
-type f -print | xargs rm -f
- $(call cmd,mrproper)
+
+distclean: mrproper
+ $(call cmd,distclean)
# Generate tags for editors
# ---------------------------------------------------------------------------
@@ -750,8 +757,9 @@
help:
@echo 'Cleaning targets:'
- @echo ' clean - remove most generated files but keep the config'
- @echo ' mrproper - remove all generated files + config + various backup files'
+ @echo ' clean - remove all generated files but keep the config'
+ @echo ' mrproper - clean + configuration is removed'
+ @echo ' distclean - mrproper + all editor and patch leftovers removed'
@echo ''
@echo 'Configuration targets:'
@echo ' oldconfig - Update current config utilising a line-oriented program'
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/