aboutsummaryrefslogtreecommitdiffstats
path: root/arch/openrisc/boot/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/openrisc/boot/Makefile')
-rw-r--r--arch/openrisc/boot/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/openrisc/boot/Makefile b/arch/openrisc/boot/Makefile
new file mode 100644
index 000000000000..98ca185097a5
--- /dev/null
+++ b/arch/openrisc/boot/Makefile
@@ -0,0 +1,15 @@
1
2
3ifneq '$(CONFIG_OPENRISC_BUILTIN_DTB)' '""'
4BUILTIN_DTB := $(patsubst "%",%,$(CONFIG_OPENRISC_BUILTIN_DTB)).dtb.o
5else
6BUILTIN_DTB :=
7endif
8obj-y += $(BUILTIN_DTB)
9
10clean-files := *.dtb.S
11
12#DTC_FLAGS ?= -p 1024
13
14$(obj)/%.dtb: $(src)/dts/%.dts
15 $(call cmd,dtc)