summaryrefslogtreecommitdiff
path: root/arch/arm/mach-versatile/Makefile.boot
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2011-07-05 23:42:34 -0600
committerGrant Likely <grant.likely@secretlab.ca>2011-07-21 15:41:11 -0600
commitca989606de9aa9e86a2076158f7eb9f1dce12736 (patch)
tree2ab6b339f51b8cfe7f075114ebc90285b0713b7d /arch/arm/mach-versatile/Makefile.boot
parent44378ceab5172a5743c5a63f15bf07c6a0a130c1 (diff)
arm/dt: Add a make rule to build dtb for enabled boards
With 'make ARCH=arm dtbs', it builds Device Tree Blobs for those boards enabled by build CONFIG. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'arch/arm/mach-versatile/Makefile.boot')
-rw-r--r--arch/arm/mach-versatile/Makefile.boot2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-versatile/Makefile.boot b/arch/arm/mach-versatile/Makefile.boot
index c7e75acfe6c..e2227d3c23c 100644
--- a/arch/arm/mach-versatile/Makefile.boot
+++ b/arch/arm/mach-versatile/Makefile.boot
@@ -2,3 +2,5 @@
params_phys-y := 0x00000100
initrd_phys-y := 0x00800000
+dtb-$(CONFIG_ARCH_VERSATILE_PB) += versatile-pb.dtb
+dtb-$(CONFIG_MACH_VERSATILE_AB) += versatile-ab.dtb