]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
microblaze: Fix Makefile to delete build generated files
authorArun Bhanu <arun@bhanu.net>
Wed, 17 Mar 2010 08:06:03 +0000 (16:06 +0800)
committerMichal Simek <monstr@monstr.eu>
Thu, 1 Apr 2010 06:38:19 +0000 (08:38 +0200)
'make clean' does not to delete the following build generated file:
arch/microblaze/boot/linux.bin.ub

'make mrproper' does not to delete the following build generated files:
arch/microblaze/boot/simpleImage.*

Fix the Makefile to delete these build generated files.

See [1] for a discussion on why simpleImage.* files are deleted with 'make
mrproper' and not with 'make clean'.
[1] http://lkml.org/lkml/2010/3/12/96

Signed-off-by: Arun Bhanu <arun@bhanu.net>
Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/Makefile
arch/microblaze/boot/Makefile

index 538afcef331440aeda3cd78d0fd17402958a0129..72f6e85837467679354d37ec148db56eb4868363 100644 (file)
@@ -94,3 +94,5 @@ define archhelp
   echo '  name of a dts file from the arch/microblaze/boot/dts/ directory'
   echo '  (minus the .dts extension).'
 endef
+
+MRPROPER_FILES += $(boot)/simpleImage.*
index 902cf9846c3cb9b89f0940a8a635554cb265fd0b..a1fc3242178213b18823cd4b2481ad4ee35b7b6d 100644 (file)
@@ -64,4 +64,4 @@ $(obj)/%.dtb: $(dtstree)/%.dts FORCE
 
 clean-kernel += linux.bin linux.bin.gz simpleImage.*
 
-clean-files += *.dtb simpleImage.*.unstrip
+clean-files += *.dtb simpleImage.*.unstrip linux.bin.ub