summaryrefslogtreecommitdiffstats
path: root/arch/mips/dts/Makefile
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2013-05-12 23:54:04 +0400
committerSascha Hauer <s.hauer@pengutronix.de>2013-05-13 21:17:10 +0200
commit6fe6d9fdc2ef89ee92cc40b2114b21cdff9e91ca (patch)
treef4888a9956d132bfe9e24935d4782ca65333c49b /arch/mips/dts/Makefile
parent74c4acea0dbc8a270e584c01f13f61dcc87e4cbd (diff)
downloadbarebox-6fe6d9fdc2ef89ee92cc40b2114b21cdff9e91ca.tar.gz
barebox-6fe6d9fdc2ef89ee92cc40b2114b21cdff9e91ca.tar.xz
MIPS: add initial device tree support
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/mips/dts/Makefile')
-rw-r--r--arch/mips/dts/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/mips/dts/Makefile b/arch/mips/dts/Makefile
new file mode 100644
index 0000000000..3ee89247e0
--- /dev/null
+++ b/arch/mips/dts/Makefile
@@ -0,0 +1,10 @@
+
+BUILTIN_DTB := $(patsubst "%",%,$(CONFIG_BUILTIN_DTB_NAME)).dtb.o
+obj-$(CONFIG_BUILTIN_DTB) += $(BUILTIN_DTB)
+
+targets += dtbs
+targets += $(dtb-y)
+
+dtbs: $(addprefix $(obj)/, $(dtb-y))
+
+clean-files := *.dtb *.dtb.S