From f8c4a270d9330a2bc179aeef0a22ea1ed288fb50 Mon Sep 17 00:00:00 2001 From: Jonas Bonn Date: Sat, 4 Jun 2011 21:52:05 +0300 Subject: OpenRISC: Build infrastructure Signed-off-by: Jonas Bonn Reviewed-by: Arnd Bergmann --- arch/openrisc/boot/Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 arch/openrisc/boot/Makefile (limited to 'arch/openrisc/boot') diff --git a/arch/openrisc/boot/Makefile b/arch/openrisc/boot/Makefile new file mode 100644 index 0000000..98ca185 --- /dev/null +++ b/arch/openrisc/boot/Makefile @@ -0,0 +1,15 @@ + + +ifneq '$(CONFIG_OPENRISC_BUILTIN_DTB)' '""' +BUILTIN_DTB := $(patsubst "%",%,$(CONFIG_OPENRISC_BUILTIN_DTB)).dtb.o +else +BUILTIN_DTB := +endif +obj-y += $(BUILTIN_DTB) + +clean-files := *.dtb.S + +#DTC_FLAGS ?= -p 1024 + +$(obj)/%.dtb: $(src)/dts/%.dts + $(call cmd,dtc) -- cgit v1.1