summaryrefslogtreecommitdiff
path: root/arch/openrisc/boot/Makefile
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2011-08-08 16:30:29 +0400
committerTakashi Iwai <tiwai@suse.de>2011-08-08 16:30:29 +0400
commit0a2d31b62dba9b5b92a38c67c9cc42630513662a (patch)
treef755d74ec85248de645e10c45ed1a2ed467530f6 /arch/openrisc/boot/Makefile
parent8039290a91c5dc4414093c086987a5d7738fe2fd (diff)
parentdf944f66784e6d4f2f50739263a4947885d8b6ae (diff)
downloadlinux-0a2d31b62dba9b5b92a38c67c9cc42630513662a.tar.xz
Merge branch 'fix/kconfig' into for-linus
Diffstat (limited to 'arch/openrisc/boot/Makefile')
-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)