microblaze: Remove *.dtb files in make clean
authorMichal Simek <michal.simek@xilinx.com>
Tue, 20 Jan 2015 08:40:14 +0000 (09:40 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 10 Feb 2015 15:24:39 +0000 (16:24 +0100)
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>
arch/microblaze/boot/Makefile
arch/microblaze/boot/dts/Makefile

index 8e211cc28dac77594c108fee34d789205f8a3efa..91d2068da1b9bcc1848155268e7b70a661904b4e 100644 (file)
@@ -34,5 +34,4 @@ $(obj)/simpleImage.%: vmlinux FORCE
        $(call if_changed,strip)
        @echo 'Kernel: $@ is ready' ' (#'`cat .version`')'
 
-
-clean-files += simpleImage.*.unstrip linux.bin.ub
+clean-files += simpleImage.*.unstrip linux.bin.ub dts/*.dtb
index c4982d16e5556abe137bb33a61851633d2b5c2b2..a3d2e42c3c979d5365257f9ee2dcd78759f55183 100644 (file)
@@ -16,5 +16,3 @@ quiet_cmd_cp = CP      $< $@$2
 
 # Rule to build device tree blobs
 DTC_FLAGS := -p 1024
-
-clean-files += *.dtb