diff options
Diffstat (limited to 'arch/openrisc/boot/Makefile')
-rw-r--r-- | arch/openrisc/boot/Makefile | 15 |
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 | |||
3 | ifneq '$(CONFIG_OPENRISC_BUILTIN_DTB)' '""' | ||
4 | BUILTIN_DTB := $(patsubst "%",%,$(CONFIG_OPENRISC_BUILTIN_DTB)).dtb.o | ||
5 | else | ||
6 | BUILTIN_DTB := | ||
7 | endif | ||
8 | obj-y += $(BUILTIN_DTB) | ||
9 | |||
10 | clean-files := *.dtb.S | ||
11 | |||
12 | #DTC_FLAGS ?= -p 1024 | ||
13 | |||
14 | $(obj)/%.dtb: $(src)/dts/%.dts | ||
15 | $(call cmd,dtc) | ||