Skip to contentSkip to conversation

x86: use targets in the boot Makefile instead of CLEAN_FILES

tip:x86/setup Sam Ravnborg 2 participants 2 messages Mar 12, 2009 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Sam Ravnborg

author Acked-by
#1 lore raw
Quoted 9 lines · H. Peter Anvin
Commit-ID:  16a6791934a1077609482dd6c091aa8b4c39a834
Gitweb:     http://git.kernel.org/tip/16a6791934a1077609482dd6c091aa8b4c39a834
Author:     H. Peter Anvin <[email protected]>
AuthorDate: Thu, 12 Mar 2009 13:43:14 -0700
Commit:     H. Peter Anvin <[email protected]>
CommitDate: Thu, 12 Mar 2009 13:43:14 -0700

x86: use targets in the boot Makefile instead of CLEAN_FILES

Quoted 8 lines

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".

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

#2 lore raw
Quoted 10 lines · Sam Ravnborg

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.

Well, the hack hasn't been removed at least not in that particular branch... we still create bzImage symlinks.

It would be nice to fix that, I agree, and that would clean up the Makefile further.

-hpa