diff options
author | Jonas Bonn <jonas@southpole.se> | 2011-06-04 14:52:05 -0400 |
---|---|---|
committer | Jonas Bonn <jonas@southpole.se> | 2011-07-22 12:46:30 -0400 |
commit | f8c4a270d9330a2bc179aeef0a22ea1ed288fb50 (patch) | |
tree | 0365f38871a6999e5b01587a337adcc21d4c51ce /arch/openrisc/boot | |
parent | ac689eb7f9d4e270d1365853b82eece669387e2c (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/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) | ||