aboutsummaryrefslogtreecommitdiffstats
path: root/arch/openrisc/boot
diff options
context:
space:
mode:
authorJonas Bonn <jonas@southpole.se>2011-06-04 14:52:05 -0400
committerJonas Bonn <jonas@southpole.se>2011-07-22 12:46:30 -0400
commitf8c4a270d9330a2bc179aeef0a22ea1ed288fb50 (patch)
tree0365f38871a6999e5b01587a337adcc21d4c51ce /arch/openrisc/boot
parentac689eb7f9d4e270d1365853b82eece669387e2c (diff)
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 @@
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)