Browse Source

microblaze: Remove *.dtb files in make clean

dts/Makefile is called only for simpleImage target
which is causing that *.dtb are not removed.
This patch fix it.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek 10 years ago
parent
commit
a01d37d914
2 changed files with 1 additions and 4 deletions
  1. 1 2
      arch/microblaze/boot/Makefile
  2. 0 2
      arch/microblaze/boot/dts/Makefile

+ 1 - 2
arch/microblaze/boot/Makefile

@@ -34,5 +34,4 @@ $(obj)/simpleImage.%: vmlinux FORCE
 	$(call if_changed,strip)
 	$(call if_changed,strip)
 	@echo 'Kernel: $@ is ready' ' (#'`cat .version`')'
 	@echo 'Kernel: $@ is ready' ' (#'`cat .version`')'
 
 
-
-clean-files += simpleImage.*.unstrip linux.bin.ub
+clean-files += simpleImage.*.unstrip linux.bin.ub dts/*.dtb

+ 0 - 2
arch/microblaze/boot/dts/Makefile

@@ -16,5 +16,3 @@ quiet_cmd_cp = CP      $< $@$2
 
 
 # Rule to build device tree blobs
 # Rule to build device tree blobs
 DTC_FLAGS := -p 1024
 DTC_FLAGS := -p 1024
-
-clean-files += *.dtb