On Wed, 17 Oct 2007, Sam Ravnborg wrote:
> 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 <[email protected]>
>
> Signed-off-by: Sam Ravnborg <[email protected]>
> Cc: Mike Galbraith <[email protected]>
> ---
> diff --git a/arch/x86/kernel/Makefile b/arch/x86/kernel/Makefile
> index 45855c9..3857334 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
Thanks applied,
tglx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]