From: Sam Ravnborg Date: Wed, 17 Oct 2007 20:06:30 +0000 (+0200) Subject: x86: delete vsyscall files during make clean X-Git-Tag: v2.6.24-rc1~476^2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=88e4d250234fc9e64d6ce51df95efdcf8334fd95;p=linux-2.6-omap-h63xx.git x86: delete vsyscall files during make clean 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 Signed-off-by: Sam Ravnborg Cc: Mike Galbraith Signed-off-by: Thomas Gleixner --- diff --git a/arch/x86/kernel/Makefile b/arch/x86/kernel/Makefile index 45855c97923..38573340b14 100644 --- a/arch/x86/kernel/Makefile +++ b/arch/x86/kernel/Makefile @@ -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