Skip to content

Commit

Permalink
microblaze: Remove *.dtb files in make clean
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michal Simek committed Feb 10, 2015
1 parent 132d5df commit a01d37d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions arch/microblaze/boot/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions arch/microblaze/boot/dts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,3 @@ quiet_cmd_cp = CP $< $@$2

# Rule to build device tree blobs
DTC_FLAGS := -p 1024

clean-files += *.dtb

0 comments on commit a01d37d

Please sign in to comment.