summaryrefslogtreecommitdiffstats
path: root/arch/metag/boot/dts/Makefile
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2012-10-05 16:02:12 +0100
committerJames Hogan <james.hogan@imgtec.com>2013-03-02 20:09:22 +0000
commit29dd78cf0b526d24063364a8c634b3e92514c1a2 (patch)
tree4dfa291da2d101242f5536be0146cba25e398838 /arch/metag/boot/dts/Makefile
parent262d96b0deb44ed58823447825d6efa5dddb4108 (diff)
downloadop-kernel-dev-29dd78cf0b526d24063364a8c634b3e92514c1a2.zip
op-kernel-dev-29dd78cf0b526d24063364a8c634b3e92514c1a2.tar.gz
metag: Device tree
Add device tree files to arch/metag. Signed-off-by: James Hogan <james.hogan@imgtec.com> Reviewed-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/metag/boot/dts/Makefile')
-rw-r--r--arch/metag/boot/dts/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/metag/boot/dts/Makefile b/arch/metag/boot/dts/Makefile
new file mode 100644
index 0000000..e0b5afd
--- /dev/null
+++ b/arch/metag/boot/dts/Makefile
@@ -0,0 +1,16 @@
+dtb-y += skeleton.dtb
+
+# Built-in dtb
+builtindtb-y := skeleton
+
+ifneq ($(CONFIG_METAG_BUILTIN_DTB_NAME),"")
+ builtindtb-y := $(CONFIG_METAG_BUILTIN_DTB_NAME)
+endif
+obj-$(CONFIG_METAG_BUILTIN_DTB) += $(patsubst "%",%,$(builtindtb-y)).dtb.o
+
+targets += dtbs
+targets += $(dtb-y)
+
+dtbs: $(addprefix $(obj)/, $(dtb-y))
+
+clean-files += *.dtb
OpenPOWER on IntegriCloud