Skip to contentSkip to conversation

ARM: Build dtb files in all target

PATCH RESEND Superseded Andrew Lunn 3 participants 4 messages Sep 3, 2012 – Sep 7, 2012 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH RESEND v2 1/1 ARM: 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.

---
 arch/arm/Makefile |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
arch/arm/Makefile +7 -2
index 30eae87..0457ef4 100644
@@ -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'
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH RESEND v2 1/1 ARM: Build dtb files in all target

Quoted 9 lines · Andrew Lunn

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.

Arnd, Olof,

Is it appropriate to take this directly into your tree or should it go through Russell's?

thx,

Jason.

Quoted 39 lines
---
 arch/arm/Makefile |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
arch/arm/Makefile +7 -2
index 30eae87..0457ef4 100644
@@ -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'
Signature · 7 lines
1.7.10.4


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#2 lore raw

PATCH RESEND v2 1/1 ARM: Build dtb files in all target

Quoted 7 lines · Jason Cooper
Quoted 6 lines · Andrew Lunn

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.

Quoted 8 lines
Quoted 3 lines

Arnd, Olof,

Is it appropriate to take this directly into your tree or should it go through Russell's?

I put it into Russell's patch system yesterday.

Andrew

#3 lore raw

PATCH RESEND v2 1/1 ARM: Build dtb files in all target

In reply to Jason Cooper
Quoted 7 lines · Jason Cooper
Quoted 6 lines · Andrew Lunn

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.

Quoted 8 lines
Quoted 3 lines

Arnd, Olof,

Is it appropriate to take this directly into your tree or should it go through Russell's?

Please send it to Russell's patch tracker, and feel free to add my:

-Olof