diff options
author | Arun Bhanu <arun@bhanu.net> | 2010-03-17 04:06:03 -0400 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2010-04-01 02:38:19 -0400 |
commit | 8a8804f1ab2d3226bfa9f9a64c4316f9a01f8ee9 (patch) | |
tree | 67e15a5f37396936efecaad9acd004a883ed6863 /arch | |
parent | 699d17bc14edceb710998349fa74e66be3042372 (diff) |
microblaze: Fix Makefile to delete build generated files
'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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/microblaze/Makefile | 2 | ||||
-rw-r--r-- | arch/microblaze/boot/Makefile | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/arch/microblaze/Makefile b/arch/microblaze/Makefile index 538afcef3314..72f6e8583746 100644 --- a/arch/microblaze/Makefile +++ b/arch/microblaze/Makefile | |||
@@ -94,3 +94,5 @@ define archhelp | |||
94 | echo ' name of a dts file from the arch/microblaze/boot/dts/ directory' | 94 | echo ' name of a dts file from the arch/microblaze/boot/dts/ directory' |
95 | echo ' (minus the .dts extension).' | 95 | echo ' (minus the .dts extension).' |
96 | endef | 96 | endef |
97 | |||
98 | MRPROPER_FILES += $(boot)/simpleImage.* | ||
diff --git a/arch/microblaze/boot/Makefile b/arch/microblaze/boot/Makefile index 902cf9846c3c..a1fc32421782 100644 --- a/arch/microblaze/boot/Makefile +++ b/arch/microblaze/boot/Makefile | |||
@@ -64,4 +64,4 @@ $(obj)/%.dtb: $(dtstree)/%.dts FORCE | |||
64 | 64 | ||
65 | clean-kernel += linux.bin linux.bin.gz simpleImage.* | 65 | clean-kernel += linux.bin linux.bin.gz simpleImage.* |
66 | 66 | ||
67 | clean-files += *.dtb simpleImage.*.unstrip | 67 | clean-files += *.dtb simpleImage.*.unstrip linux.bin.ub |