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