diff options
author | Rob Herring <rob.herring@calxeda.com> | 2011-07-25 11:52:12 -0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-07-25 11:52:12 -0400 |
commit | 5fd1a2ed0ec6fb5449c71a988cc15edb8671b3d0 (patch) | |
tree | 82d49394874271f1dcaa7c38775c1dab0b71d87f /arch/arm/Makefile | |
parent | 2b4180af3faaf6088162d8a6b8d3f571bd7c2004 (diff) |
arm/dt: Add dtb make rule
Add a make rule to compile dt blobs for ARM.
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Shawn Guo <shawn.guo@freescale.com>
Tested-by: Jason Liu <jason.hui@linaro.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'arch/arm/Makefile')
-rw-r--r-- | arch/arm/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/Makefile b/arch/arm/Makefile index f5b2b390c8f2..f7135595eb70 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile | |||
@@ -281,6 +281,12 @@ zImage Image xipImage bootpImage uImage: vmlinux | |||
281 | zinstall uinstall install: vmlinux | 281 | zinstall uinstall install: vmlinux |
282 | $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $@ | 282 | $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $@ |
283 | 283 | ||
284 | %.dtb: | ||
285 | $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $(boot)/$@ | ||
286 | |||
287 | dtbs: | ||
288 | $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $(boot)/$@ | ||
289 | |||
284 | # We use MRPROPER_FILES and CLEAN_FILES now | 290 | # We use MRPROPER_FILES and CLEAN_FILES now |
285 | archclean: | 291 | archclean: |
286 | $(Q)$(MAKE) $(clean)=$(boot) | 292 | $(Q)$(MAKE) $(clean)=$(boot) |
@@ -297,6 +303,7 @@ define archhelp | |||
297 | echo ' uImage - U-Boot wrapped zImage' | 303 | echo ' uImage - U-Boot wrapped zImage' |
298 | echo ' bootpImage - Combined zImage and initial RAM disk' | 304 | echo ' bootpImage - Combined zImage and initial RAM disk' |
299 | echo ' (supply initrd image via make variable INITRD=<path>)' | 305 | echo ' (supply initrd image via make variable INITRD=<path>)' |
306 | echo ' dtbs - Build device tree blobs for enabled boards' | ||
300 | echo ' install - Install uncompressed kernel' | 307 | echo ' install - Install uncompressed kernel' |
301 | echo ' zinstall - Install compressed kernel' | 308 | echo ' zinstall - Install compressed kernel' |
302 | echo ' uinstall - Install U-Boot wrapped compressed kernel' | 309 | echo ' uinstall - Install U-Boot wrapped compressed kernel' |