Re: [tip:x86/setup] x86: use targets in the boot Makefile instead of CLEAN_FILES

From: Sam Ravnborg
Date: Thu Mar 12 2009 - 17:04:56 EST


On Thu, Mar 12, 2009 at 08:48:28PM +0000, H. Peter Anvin wrote:
> Commit-ID: 16a6791934a1077609482dd6c091aa8b4c39a834
> Gitweb: http://git.kernel.org/tip/16a6791934a1077609482dd6c091aa8b4c39a834
> Author: H. Peter Anvin <hpa@xxxxxxxxx>
> AuthorDate: Thu, 12 Mar 2009 13:43:14 -0700
> Commit: H. Peter Anvin <hpa@xxxxxxxxx>
> CommitDate: Thu, 12 Mar 2009 13:43:14 -0700
>
> x86: use targets in the boot Makefile instead of CLEAN_FILES
>
> Impact: cleanup
>
> Instead of using CLEAN_FILES in arch/x86/Makefile, add generated files
> to targets in arch/x86/boot/Makefile, so they will get naturally
> cleaned up by "make clean".
>
> Cc: Sam Ravnborg <sam@xxxxxxxxxxxx>
> Signed-off-by: H. Peter Anvin <hpa@xxxxxxxxx>

Acked-by: Sam Ravnborg <sam@xxxxxxxxxxxx>

When you are cleaning up...

archclean:
$(Q)rm -rf $(objtree)/arch/i386
$(Q)rm -rf $(objtree)/arch/x86_64

Do we need this hack now?
I recall it was some backward soon-to-be-removed hack we made right after the x86 merge.

Sam
--
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/