Re: [PATCH 4/5] kbuild: make clean improved

From: Sam Ravnborg
Date: Mon Jun 14 2004 - 15:48:01 EST


# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2004/06/14 22:09:53+02:00 sam@xxxxxxxxxxxxxxxxx
# kbuild: make clean deletes a few more unneeded files
#
# Make clean shall leave behind only what is needed to build
# external modules. A few more files can be deleted and modules may still be
# build successfully.
# Originally noticed by Andreas Gruenbach
#
# Signed-off-by: Sam Ravnborg <sam@xxxxxxxxxxxx>
#
# Makefile
# 2004/06/14 22:09:39+02:00 sam@xxxxxxxxxxxxxxxxx +2 -2
# kbuild: make clean deletes a few more unneeded files
#
# Make clean shall leave behind only what is needed to build
# external modules. A few more files can be deleted and modules may still be
# build successfully.
# Originally noticed by Andreas Gruenbach
#
# Signed-off-by: Sam Ravnborg <sam@xxxxxxxxxxxx>
#
diff -Nru a/Makefile b/Makefile
--- a/Makefile 2004-06-14 22:25:31 +02:00
+++ b/Makefile 2004-06-14 22:25:31 +02:00
@@ -796,12 +796,12 @@

# Directories & files removed with 'make clean'
CLEAN_DIRS += $(MODVERDIR)
-CLEAN_FILES += vmlinux System.map \
+CLEAN_FILES += vmlinux System.map .version .config.old \
.tmp_kallsyms* .tmp_version .tmp_vmlinux*

# Directories & files removed with 'make mrproper'
MRPROPER_DIRS += include/config include2
-MRPROPER_FILES += .config .config.old include/asm .version \
+MRPROPER_FILES += .config include/asm \
include/linux/autoconf.h include/linux/version.h \
Module.symvers tags TAGS cscope*

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/