Skip to contentSkip to conversation

ARM: Build dtb files in all target

PATCH New Andrew Lunn 2 participants 3 messages Aug 29, 2012 – Aug 30, 2012 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 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 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/Makefile +1 -1
index 30eae87..aee2b1e 100644
@@ -268,7 +268,7 @@ else
 KBUILD_IMAGE := zImage
 endif
 
-all:	$(KBUILD_IMAGE)
+all:	$(KBUILD_IMAGE) dtbs
 
 boot := arch/arm/boot
 
Signature · 1 line
1.7.10.4
#1 lore raw

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

Quoted 7 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.

You should probably put a star (*) next to the dtbs info in the help text too.

Have you tried this in a clean tree? Also, should this only be default true if USE_OF is true?

Signature · 2 lines
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
#2 lore raw

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

Quoted 11 lines · Stephen Boyd
Quoted 7 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.

You should probably put a star (*) next to the dtbs info in the help text too.

Will do. Version 2 to be posted soon.

Quoted 2 lines

Have you tried this in a clean tree?

I tested with
make distclean
make kirkwood_defconfig
make

Any other permutations you would like me to test?

Quoted 1 line

Also, should this only be default true if USE_OF is true?

Also in v2.

Thanks
Andrew