path: root/arch/mips/boot/dts/Makefile
diff options
authorAndrew Bresticker <>2014-08-21 13:04:20 -0700
committerRalf Baechle <>2014-09-22 13:35:49 +0200
commit7fafb06831431ed7bc882c3cd7c981e3f41cfdb0 (patch)
tree2db1741920497fe28ef19017f27cc15760f92c8a /arch/mips/boot/dts/Makefile
parentbfe0307942366b729520718b1ddcd96fb9bd5391 (diff)
MIPS: Create common infrastructure for building built-in device-trees
In preparation for moving the device-trees to a common location, introduce the config option BUILTIN_DTB, which can be selected by platforms that use a device-tree built into the kernel image, and create a Makefile to build the device-trees in arch/mips/boot/dts/. Signed-off-by: Andrew Bresticker <> Cc: Rob Herring <> Cc: Pawel Moll <> Cc: Mark Rutland <> Cc: Ian Campbell <> Cc: Kumar Gala <> Cc: James Hogan <> Cc: Paul Burton <> Cc: David Daney <> Cc: John Crispin <> Cc: Jayachandran C <> Cc: Qais Yousef <> Cc: Cc: Cc: Patchwork: Signed-off-by: Ralf Baechle <>
Diffstat (limited to 'arch/mips/boot/dts/Makefile')
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/boot/dts/Makefile b/arch/mips/boot/dts/Makefile
new file mode 100644
index 000000000000..6bb41df59264
--- /dev/null
+++ b/arch/mips/boot/dts/Makefile
@@ -0,0 +1,3 @@
+obj-y += $(patsubst %.dtb, %.dtb.o, $(dtb-y))
+clean-files += *.dtb.S