diff options
author | Andrew Lunn <andrew@lunn.ch> | 2012-09-06 13:09:33 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-09-15 16:43:32 -0400 |
commit | e50a622deaf6b1a7dd2b9fb60975dd1d5406db37 (patch) | |
tree | cbc60423fffd9899e7f1f589589d6a76b4406d60 /arch/arm/Makefile | |
parent | a761cebfd7cbeaf9a3a0c6960508ca1daaebb67e (diff) |
ARM: 7520/1: Build dtb files in all target
Tools like kisskb are good at finding build regressions in the kernel
sources. However, regressions in the DT desscriptions are not found,
because generally these build systems don't build the DT binary blobs.
Extend the ARM all target to build all enabled DTB files.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Jason Cooper <jason@lakedaemon.net>
Reviewed-by: Dave Martin <dave.martin@linaro.org>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/Makefile')
-rw-r--r-- | arch/arm/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 30eae87ead6d..0457ef4d8c86 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile | |||
@@ -268,7 +268,12 @@ else | |||
268 | KBUILD_IMAGE := zImage | 268 | KBUILD_IMAGE := zImage |
269 | endif | 269 | endif |
270 | 270 | ||
271 | all: $(KBUILD_IMAGE) | 271 | # Build the DT binary blobs if we have OF configured |
272 | ifeq ($(CONFIG_USE_OF),y) | ||
273 | KBUILD_DTBS := dtbs | ||
274 | endif | ||
275 | |||
276 | all: $(KBUILD_IMAGE) $(KBUILD_DTBS) | ||
272 | 277 | ||
273 | boot := arch/arm/boot | 278 | boot := arch/arm/boot |
274 | 279 | ||
@@ -306,7 +311,7 @@ define archhelp | |||
306 | echo ' uImage - U-Boot wrapped zImage' | 311 | echo ' uImage - U-Boot wrapped zImage' |
307 | echo ' bootpImage - Combined zImage and initial RAM disk' | 312 | echo ' bootpImage - Combined zImage and initial RAM disk' |
308 | echo ' (supply initrd image via make variable INITRD=<path>)' | 313 | echo ' (supply initrd image via make variable INITRD=<path>)' |
309 | echo ' dtbs - Build device tree blobs for enabled boards' | 314 | echo '* dtbs - Build device tree blobs for enabled boards' |
310 | echo ' install - Install uncompressed kernel' | 315 | echo ' install - Install uncompressed kernel' |
311 | echo ' zinstall - Install compressed kernel' | 316 | echo ' zinstall - Install compressed kernel' |
312 | echo ' uinstall - Install U-Boot wrapped compressed kernel' | 317 | echo ' uinstall - Install U-Boot wrapped compressed kernel' |