summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/Makefile
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2012-11-28 03:29:12 +0400
committerRob Herring <rob.herring@calxeda.com>2012-12-03 22:48:45 +0400
commitda4cbc6d58f88fa666fcc57505de5b6c1b3d73ee (patch)
treeac5ddc3f00a2f7a34796f48d84763b2bc1957ac2 /arch/arm64/boot/dts/Makefile
parent499cd8298628eeabf0eb5eb6525d4faa0eec80d8 (diff)
downloadlinux-da4cbc6d58f88fa666fcc57505de5b6c1b3d73ee.tar.xz
arm64: use new common dtc rule
The current rules have the .dtb files build in a different directory from the .dts files. This patch changes arm64 to use the generic dtb rule which builds .dtb files in the same directory as the source .dts. This requires moving parts of arch/arm64/boot/Makefile into newly created arch/arm64/boot/dts/Makefile, and updating arch/arm64/Makefile to call the new Makefile. Acked-by: Catalin Marinas <catalin.marinas@arm.com> Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Diffstat (limited to 'arch/arm64/boot/dts/Makefile')
-rw-r--r--arch/arm64/boot/dts/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/Makefile b/arch/arm64/boot/dts/Makefile
new file mode 100644
index 000000000000..801e2d7fcbc6
--- /dev/null
+++ b/arch/arm64/boot/dts/Makefile
@@ -0,0 +1,5 @@
+targets += dtbs
+
+dtbs: $(addprefix $(obj)/, $(dtb-y))
+
+clean-files := *.dtb