aboutsummaryrefslogtreecommitdiffstats
path: root/arch/microblaze/boot/dts/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/microblaze/boot/dts/Makefile')
-rw-r--r--arch/microblaze/boot/dts/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/microblaze/boot/dts/Makefile b/arch/microblaze/boot/dts/Makefile
new file mode 100644
index 000000000000..c3b3a5d67b89
--- /dev/null
+++ b/arch/microblaze/boot/dts/Makefile
@@ -0,0 +1,22 @@
1#
2# arch/microblaze/boot/Makefile
3#
4
5obj-y += linked_dtb.o
6
7# Ensure system.dtb exists
8$(obj)/linked_dtb.o: $(obj)/system.dtb
9
10# Generate system.dtb from $(DTB).dtb
11ifneq ($(DTB),system)
12$(obj)/system.dtb: $(obj)/$(DTB).dtb
13 $(call if_changed,cp)
14endif
15
16quiet_cmd_cp = CP $< $@$2
17 cmd_cp = cat $< >$@$2 || (rm -f $@ && echo false)
18
19# Rule to build device tree blobs
20DTC_FLAGS := -p 1024
21
22clean-files += *.dtb