Linux 3.12.5
[linux/fpc-iii.git] / arch / microblaze / boot / dts / Makefile
blobc3b3a5d67b89e6e68bdb0f988de54be90b14e12c
2 # arch/microblaze/boot/Makefile
5 obj-y += linked_dtb.o
7 # Ensure system.dtb exists
8 $(obj)/linked_dtb.o: $(obj)/system.dtb
10 # Generate system.dtb from $(DTB).dtb
11 ifneq ($(DTB),system)
12 $(obj)/system.dtb: $(obj)/$(DTB).dtb
13 $(call if_changed,cp)
14 endif
16 quiet_cmd_cp = CP $< $@$2
17 cmd_cp = cat $< >$@$2 || (rm -f $@ && echo false)
19 # Rule to build device tree blobs
20 DTC_FLAGS := -p 1024
22 clean-files += *.dtb