[PATCH] fix mrproper incompleteness
authorMikael Pettersson <mikpe@it.uu.se>
Sat, 30 Dec 2006 00:48:09 +0000 (16:48 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Sat, 30 Dec 2006 18:56:41 +0000 (10:56 -0800)
include/linux/utsrelease.h and include/linux/version.h aren't removed any
more by mrproper in kernel 2.6.20-rc2.  The patch below fixes this.

The definition of MRPROPER_FILES looks weird: generated-headers looks like
a misspelling of generated_headers, but that one is a Makefile target, not
a variable or a file, so I don't see how including it in MRPROPER_FILES
could have any effect.

Signed-off-by: Mikael Pettersson <mikpe@it.uu.se>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Makefile

index d6b64a0..e3a1b1d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1040,7 +1040,7 @@ CLEAN_FILES +=    vmlinux System.map \
 # Directories & files removed with 'make mrproper'
 MRPROPER_DIRS  += include/config include2 usr/include
 MRPROPER_FILES += .config .config.old include/asm .version .old_version \
-                  include/linux/autoconf.h generated-headers           \
+                  include/linux/autoconf.h include/linux/utsrelease.h include/linux/version.h \
                  Module.symvers tags TAGS cscope*
 
 # clean - Delete most, but leave enough to build external modules