dts, kbuild: Implement support for dtb vendor subdirs
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 14 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | dts, arm64: Add dtbs_install make targetarch/ arch/ | +7 | 0 replies | |
| 2/6 | dts, kbuild: Factor out dtbs install rules to Makefile.dtbinstarch/ arch/ arch/ +4 more | +54 | 2 replies | |
| 3/6 | dts, arm/arm64: Remove dtbs build rules in sub-makesarch/ arch/ arch/ +1 more | +6 | 0 replies | |
| 4/6 | dts, kbuild: Implement support for dtb vendor subdirsarch/ scripts/ | +19 | 0 replies | |
| 5/6 | dts, arm64: Move dts files to vendor subdirsarch/ arch/ arch/ +10 more | +1103 | 1 reply | |
| 6/6 | dts, arm: Remove $(MACHINE) variable from dtbs make recipesarch/ | +2 | 0 replies |
Reviews trailers per patch
1 of 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Rob Herring | Andrew Bresticker | Catalin Marinas |
|---|---|---|---|
| Series | T-b | A-b | |
| 1/6 | |||
| 2/6 | |||
| 3/6 | |||
| 4/6 | |||
| 5/6 | A-b | ||
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH 0/6] dts, kbuild: Implement support for dtb vendor subdirs
From: Robert Richter <[email protected]>
For arm64 we want to put dts files into vendor's subdirectories from the beginning. This patch set implements this. As this is a generic kbuild implementation, vendor subdirs will be also available for arch/arm and other architectures. The subdirectory tree is also reflected in the install path.
A new makefile variable dts-dirs is introduced to point to dts subdirs. This variable is used by kbuild for building and installation of dtb files.
A dts Makefile looks now as follows:
----
dtb-$(CONFIG_...) += some_file_1.dtb
dtb-$(CONFIG_...) += some_file_2.dtb
dts-dirs += dir_vendor_a
dts-dirs += dir_vendor_b
# come always afterwards: always := $(dtb-y) subdir-y := $(dts-dirs) clean-files := *.dtb ----
This patches also introduces the dtbs_install make target for arm64. Install rules are moved to Makefile.dtbinst using the same style and calling convention like for modinst and fwinst.
Robert Richter (6):
dts, arm64: Add dtbs_install make target
dts, kbuild: Factor out dtbs install rules to Makefile.dtbinst dts, arm/arm64: Remove dtbs build rules in sub-makes dts, kbuild: Implement support for dtb vendor subdirs dts, arm64: Move dts files to vendor subdirs
dts, arm: Remove $(MACHINE) variable from dtbs make recipes
arch/arm/Makefile | 8 +- arch/arm/boot/dts/Makefile | 12 +- arch/arm64/Makefile | 10 +- arch/arm64/boot/dts/Makefile | 13 +- arch/arm64/boot/dts/apm-mustang.dts | 34 -- arch/arm64/boot/dts/apm-storm.dtsi | 425 ----------------------- arch/arm64/boot/dts/apm/Makefile | 5 + arch/arm64/boot/dts/apm/apm-mustang.dts | 34 ++ arch/arm64/boot/dts/apm/apm-storm.dtsi | 425 +++++++++++++++++++++++ arch/arm64/boot/dts/arm/Makefile | 6 + arch/arm64/boot/dts/arm/foundation-v8.dts | 232 +++++++++++++ arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts | 159 +++++++++ arch/arm64/boot/dts/arm/rtsm_ve-motherboard.dtsi | 240 +++++++++++++ arch/arm64/boot/dts/foundation-v8.dts | 232 ------------- arch/arm64/boot/dts/rtsm_ve-aemv8a.dts | 159 --------- arch/arm64/boot/dts/rtsm_ve-motherboard.dtsi | 240 ------------- scripts/Kbuild.include | 6 + scripts/Makefile.dtbinst | 51 +++ scripts/Makefile.lib | 12 - 19 files changed, 1179 insertions(+), 1124 deletions(-) delete mode 100644 arch/arm64/boot/dts/apm-mustang.dts delete mode 100644 arch/arm64/boot/dts/apm-storm.dtsi create mode 100644 arch/arm64/boot/dts/apm/Makefile create mode 100644 arch/arm64/boot/dts/apm/apm-mustang.dts create mode 100644 arch/arm64/boot/dts/apm/apm-storm.dtsi create mode 100644 arch/arm64/boot/dts/arm/Makefile create mode 100644 arch/arm64/boot/dts/arm/foundation-v8.dts create mode 100644 arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts create mode 100644 arch/arm64/boot/dts/arm/rtsm_ve-motherboard.dtsi delete mode 100644 arch/arm64/boot/dts/foundation-v8.dts delete mode 100644 arch/arm64/boot/dts/rtsm_ve-aemv8a.dts delete mode 100644 arch/arm64/boot/dts/rtsm_ve-motherboard.dtsi create mode 100644 scripts/Makefile.dtbinst
Signature · 1 line
2.0.1