linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] ARM: Build dtb files in all target
@ 2012-08-30  5:14 Andrew Lunn
  2012-08-30 16:52 ` Jason Cooper
  2012-09-01 14:49 ` Andrew Lunn
  0 siblings, 2 replies; 25+ messages in thread
From: Andrew Lunn @ 2012-08-30  5:14 UTC (permalink / raw)
  To: linux-arm-kernel

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>
---
v2: * in the help test
    Only invoke dtbs if CONFIGUSE_OF=y

 arch/arm/Makefile |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index 30eae87..0457ef4 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -268,7 +268,12 @@ else
 KBUILD_IMAGE := zImage
 endif
 
-all:	$(KBUILD_IMAGE)
+# Build the DT binary blobs if we have OF configured
+ifeq ($(CONFIG_USE_OF),y)
+KBUILD_DTBS := dtbs
+endif
+
+all:	$(KBUILD_IMAGE) $(KBUILD_DTBS)
 
 boot := arch/arm/boot
 
@@ -306,7 +311,7 @@ define archhelp
   echo  '  uImage        - U-Boot wrapped zImage'
   echo  '  bootpImage    - Combined zImage and initial RAM disk' 
   echo  '                  (supply initrd image via make variable INITRD=<path>)'
-  echo  '  dtbs          - Build device tree blobs for enabled boards'
+  echo  '* dtbs          - Build device tree blobs for enabled boards'
   echo  '  install       - Install uncompressed kernel'
   echo  '  zinstall      - Install compressed kernel'
   echo  '  uinstall      - Install U-Boot wrapped compressed kernel'
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2012-09-03 19:55 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-30  5:14 [PATCH v2] ARM: Build dtb files in all target Andrew Lunn
2012-08-30 16:52 ` Jason Cooper
2012-08-30 17:23   ` Russell King - ARM Linux
2012-08-30 18:37     ` Jason Cooper
2012-08-30 19:14       ` Russell King - ARM Linux
2012-08-30 19:40         ` Jason Cooper
2012-08-31 21:11         ` Ben Hutchings
2012-08-31 22:32           ` Russell King - ARM Linux
2012-09-01 14:20             ` Ben Hutchings
2012-09-01 15:25               ` Russell King - ARM Linux
2012-09-01 16:32                 ` Jonathan Nieder
2012-09-01 18:22                   ` Russell King - ARM Linux
2012-09-01 18:38                     ` Jonathan Nieder
2012-09-01 20:11                       ` Russell King - ARM Linux
2012-09-02  6:30                         ` When to cc stable@vger.kernel.org (Re: [PATCH v2] ARM: Build dtb files in all target) Jonathan Nieder
2012-09-02 13:54                         ` [PATCH v2] ARM: Build dtb files in all target Ben Hutchings
2012-09-02 17:04                           ` Russell King - ARM Linux
2012-09-02 17:26                             ` Ben Hutchings
2012-09-02 18:05                               ` Russell King - ARM Linux
2012-09-02 19:14                                 ` Uwe Kleine-König
2012-09-02 23:58                                   ` Greg KH
2012-08-30 18:03   ` Greg KH
2012-09-01 14:49 ` Andrew Lunn
2012-09-03 12:21   ` Dave Martin
2012-09-03 19:55     ` Jason Cooper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).