]> err.no Git - linux-2.6/commitdiff
x86: delete vsyscall files during make clean
authorSam Ravnborg <sam@ravnborg.org>
Wed, 17 Oct 2007 20:06:30 +0000 (22:06 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 17 Oct 2007 19:56:01 +0000 (21:56 +0200)
make clean failed to delete a few files in
x86/kernel. This is because kbuild does not
see the correct/full kernel/Makefile.

As a workaround until the Makefiles are merged specify
the files to be deleted in the common Makefile.

Reported by Mike Galbraith <efault@gmx.de>

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Mike Galbraith <efault@gmx.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/Makefile

index 45855c97923ee17a9a58b2bd188664d257cda2f1..38573340b14367b138df651b5fba84e691a51c32 100644 (file)
@@ -3,3 +3,7 @@ include ${srctree}/arch/x86/kernel/Makefile_32
 else
 include ${srctree}/arch/x86/kernel/Makefile_64
 endif
+
+# Workaround to delete .lds files with make clean
+# The problem is that we do not enter Makefile_32 with make clean.
+clean-files := vsyscall*.lds vsyscall*.so