From: H. Peter Anvin Date: Thu, 12 Mar 2009 20:43:14 +0000 (-0700) Subject: x86: use targets in the boot Makefile instead of CLEAN_FILES X-Git-Tag: v2.6.30-rc3~72^2~22^3~2^9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=16a6791934a1077609482dd6c091aa8b4c39a834;p=platform%2Fupstream%2Fkernel-adaptation-pc.git 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 Signed-off-by: H. Peter Anvin --- diff --git a/arch/x86/Makefile b/arch/x86/Makefile index 43bd89c..f05d8c9 100644 --- a/arch/x86/Makefile +++ b/arch/x86/Makefile @@ -194,7 +194,3 @@ define archhelp echo ' FDARGS="..." arguments for the booted kernel' echo ' FDINITRD=file initrd for the booted kernel' endef - -CLEAN_FILES += arch/x86/boot/fdimage \ - arch/x86/boot/image.iso \ - arch/x86/boot/mtools.conf \ No newline at end of file diff --git a/arch/x86/boot/Makefile b/arch/x86/boot/Makefile index 2a3db75..fb737ce 100644 --- a/arch/x86/boot/Makefile +++ b/arch/x86/boot/Makefile @@ -23,6 +23,7 @@ ROOT_DEV := CURRENT SVGA_MODE := -DSVGA_MODE=NORMAL_VGA targets := vmlinux.bin setup.bin setup.elf bzImage +targets += fdimage fdimage144 fdimage288 image.iso mtools.conf subdir- := compressed setup-y += a20.o cmdline.o copy.o cpu.o cpucheck.o edd.o