Skip to content

Enable building all dtb files

Rob Herring linux-arm-kernel linux-devicetree linux-metag linux-mips linuxppc-dev lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest13 patches 6 repliesIn review

Changes in v2 from the cover letter

- Add OF_ALL_DTBS option hidden behind COMPILE_TEST
- Expand to all architectures (with more than 1 dtb)

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13of: add config option to enable building of all dtbsdrivers/of/Kconfig+10 -00 replies
2/13arc: use common make variables for dtb buildsarch/arc/Makefile arch/arc/boot/dts/Makefile+3 -31 reply
3/13arc: enable building of all dtbsarch/arc/boot/dts/Makefile+2 -01 reply
4/13arm: enable building of all dtbsarch/arm/boot/dts/Makefile+3 -00 replies
5/13arm64: enable building of all dtbsarch/arm64/boot/dts/Makefile+6 -02 replies
6/13h8300: enable building of all dtbsarch/h8300/boot/dts/Makefile+3 -00 replies
7/13metag: use common make variables for dtb buildsarch/metag/Makefile arch/metag/boot/dts/Makefile+2 -60 replies
8/13metag: enable building of all dtbsarch/metag/boot/dts/Makefile+3 -00 replies
9/13mips: enable building of all dtbsarch/mips/boot/dts/Makefile+3 -00 replies
10/13nios2: use common make variables for dtb buildsarch/nios2/Makefile arch/nios2/boot/Makefile arch/nios2/boot/dts/Makefile+11 -150 replies
11/13nios2: enable building of all dtbsarch/nios2/boot/dts/Makefile+3 -00 replies
12/13powerpc: enable building of all dtbsarch/powerpc/Makefile arch/powerpc/boot/Makefile arch/powerpc/boot/dts/Makefile+15 -12 replies
13/13xtensa: enable building of all dtbsarch/xtensa/Makefile arch/xtensa/boot/dts/Makefile+10 -10 replies

Reviews trailers per patch

2 of 13 patches have a Reviewed-by or Acked-by.

PatchVineet Gupta
1/13
2/13A-b
3/13A-b
4/13
5/13
6/13
7/13
8/13
9/13
10/13
11/13
12/13
13/13

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 00/13] Enable building all dtb files

This series enables building all the dtb files in the kernel mostly independent of the kernel config. The option is only dependent on COMPILE_TEST, OF, and the new OF_ALL_DTBS options. This ensures that allyesconfig builds can build all dtb files although most arches have to build "dtbs" target explicitly. Some arches like ARM include dtbs in the default target.

Arch/arm-soc maintainers, Please ack and I will take this series via the DT tree.

v2:
- Add OF_ALL_DTBS option hidden behind COMPILE_TEST
- Expand to all architectures (with more than 1 dtb)

Rob

Rob Herring (13):
of: add config option to enable building of all dtbs
arc: use common make variables for dtb builds
arc: enable building of all dtbs
arm: enable building of all dtbs
arm64: enable building of all dtbs
h8300: enable building of all dtbs
metag: use common make variables for dtb builds
metag: enable building of all dtbs
mips: enable building of all dtbs
nios2: use common make variables for dtb builds
nios2: enable building of all dtbs
powerpc: enable building of all dtbs
xtensa: enable building of all dtbs

 arch/arc/Makefile              |  2 +-
 arch/arc/boot/dts/Makefile     |  6 ++++--
 arch/arm/boot/dts/Makefile     |  3 +++
 arch/arm64/boot/dts/Makefile   |  6 ++++++
 arch/h8300/boot/dts/Makefile   |  3 +++
 arch/metag/Makefile            |  2 +-
 arch/metag/boot/dts/Makefile   |  7 +++----
 arch/mips/boot/dts/Makefile    |  3 +++
 arch/nios2/Makefile            | 10 +++++-----
 arch/nios2/boot/Makefile       | 13 +++----------
 arch/nios2/boot/dts/Makefile   |  6 ++++++
 arch/powerpc/Makefile          |  6 ++++++
 arch/powerpc/boot/Makefile     |  5 ++++-
 arch/powerpc/boot/dts/Makefile |  5 +++++
 arch/xtensa/Makefile           |  4 ++++
 arch/xtensa/boot/dts/Makefile  |  7 ++++++-
 drivers/of/Kconfig             | 10 ++++++++++
 17 files changed, 73 insertions(+), 25 deletions(-)
 create mode 100644 arch/nios2/boot/dts/Makefile
 create mode 100644 arch/powerpc/boot/dts/Makefile
Signature · 1 line
2.1.4