x86: use targets in the boot Makefile instead of CLEAN_FILES
A message that is not in the archive (sent off-list or not yet received): [email protected]
Sam Ravnborg
Acked-byQuoted 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 -0700x86: use targets in the boot
Makefileinstead ofCLEAN_FILES
Quoted 8 lines
Impact: cleanup
Instead of using
CLEAN_FILESinarch/x86/Makefile, add generated files to targets inarch/x86/boot/Makefile, so they will get naturally cleaned up by "make clean".Cc Sam Ravnborg <[email protected]>Signed-off-by H. Peter Anvin <[email protected]>
When you are cleaning up...
archclean:
$(Q)rm -rf $(objtree)/arch/i386
$(Q)rm -rf $(objtree)/arch/x86_64Do we need this hack now?
I recall it was some backward soon-to-be-removed hack we made right after the x86 merge.
Sam
Quoted 10 lines · Sam Ravnborg
When you are cleaning up...
archclean:
$(Q)rm -rf $(objtree)/arch/i386 $(Q)rm -rf $(objtree)/arch/x86_64Do 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