summaryrefslogtreecommitdiffstats
path: root/arch/openrisc/boot
diff options
context:
space:
mode:
authorJonas Bonn <jonas@southpole.se>2011-06-04 21:52:05 +0300
committerJonas Bonn <jonas@southpole.se>2011-07-22 18:46:30 +0200
commitf8c4a270d9330a2bc179aeef0a22ea1ed288fb50 (patch)
tree0365f38871a6999e5b01587a337adcc21d4c51ce /arch/openrisc/boot
parentac689eb7f9d4e270d1365853b82eece669387e2c (diff)
downloadlinux-f8c4a270d9330a2bc179aeef0a22ea1ed288fb50.tar.bz2
OpenRISC: Build infrastructure
Signed-off-by: Jonas Bonn <jonas@southpole.se> Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/openrisc/boot')
-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 @@
+
+
+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)