aboutsummaryrefslogtreecommitdiffstats
path: root/arch/c6x/boot/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/c6x/boot/Makefile')
-rw-r--r--arch/c6x/boot/Makefile20
1 files changed, 0 insertions, 20 deletions
diff --git a/arch/c6x/boot/Makefile b/arch/c6x/boot/Makefile
index 6891257d514c..8734abee548e 100644
--- a/arch/c6x/boot/Makefile
+++ b/arch/c6x/boot/Makefile
@@ -6,25 +6,5 @@ OBJCOPYFLAGS_vmlinux.bin := -O binary
6$(obj)/vmlinux.bin: vmlinux FORCE 6$(obj)/vmlinux.bin: vmlinux FORCE
7 $(call if_changed,objcopy) 7 $(call if_changed,objcopy)
8 8
9DTC_FLAGS ?= -p 1024
10
11ifneq ($(DTB),)
12obj-y += linked_dtb.o
13endif
14
15$(obj)/%.dtb: $(src)/dts/%.dts FORCE
16 $(call if_changed_dep,dtc)
17
18quiet_cmd_cp = CP $< $@$2
19 cmd_cp = cat $< >$@$2 || (rm -f $@ && echo false)
20
21# Generate builtin.dtb from $(DTB).dtb
22$(obj)/builtin.dtb: $(obj)/$(DTB).dtb
23 $(call if_changed,cp)
24
25$(obj)/linked_dtb.o: $(obj)/builtin.dtb
26
27$(obj)/dtbImage.%: vmlinux 9$(obj)/dtbImage.%: vmlinux
28 $(call if_changed,objcopy) 10 $(call if_changed,objcopy)
29
30clean-files := $(obj)/*.dtb