kbuild: Support directory targets for DTBs
Get series with b4
b4 am [email protected] change-id 20261007-dtb-dirs-v3-008fa5ffbc74Versions newest first
- v5 Latest2 patches 1 replyIn review
- v42 patches 1 replySuperseded
- v32 patches 3 repliesSuperseded inferred link
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 1 patch | 3 replies | Superseded inferred link | |
| v1 RFC | 1 patch | 0 replies | Superseded |
Changes in v5 from the cover letter
- Don't drop 'dtbs_prepare' for 'dtbs' rule to avoid parallel make issue
- Limit adding boot/dts subdir to DT targets (also a parallel make
issue)
- Link to v4: https://patch.msgid.link/[email protected]
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | kbuild: Convert %.dtb(o) targets to single target rulesMakefile | +17 | 0 replies | |
| 2/2 | kbuild: Support directory targets for building DTBsMakefile drivers/ scripts/ +1 more | +23 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Nicolas Schier |
|---|---|
| 1/2 | R-b T-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v5 0/2] kbuild: Support directory targets for DTBs
This series adds support for using directory targets to build DTBs. This is primarily useful for architectures with lots of vendor DTS subdirectories.
v2 had some issues reported after I applied. In fixing David's issue, that introduced random parallel build issues Arnd reported. I didn't get it figured out quickly, so I ended up dropping it. I finally got around to revisiting it with some LLM help this time. Having multiple paths in the build system to building DTBs complicates things, so I've reworked things to always use the single target and directory targets for building.
Arnd, can you give this a spin on your randconfig builds?
Please ack and I'll take this in the DT tree.
---
Changes in v5:
- Don't drop 'dtbs_prepare' for 'dtbs' rule to avoid parallel make issue
- Limit adding boot/dts subdir to DT targets (also a parallel make
issue)
- Link to v4: https://patch.msgid.link/[email protected]
Changes in v4:
- Don't create dtbs-list files in every directory
- Link to v3: https://patch.msgid.link/[email protected]
Changes in v3:
- Convert %.dtbo? rules to single target
- Convert dtbs rule to use directory target
- Link to v2: https://lore.kernel.org/all/[email protected]/
---
Rob Herring (Arm) (2):
kbuild: Convert %.dtb(o) targets to single target rules
kbuild: Support directory targets for building DTBs
Makefile | 36 +++++++++++++++++++++++++----------- drivers/of/unittest-data/Makefile | 5 +++++ scripts/Makefile.build | 7 +++++++ scripts/Makefile.dtbs | 2 ++ 4 files changed, 39 insertions(+), 11 deletions(-)
---
base-commit: cee9395acd8043be0644b25c34bfa86623f2b935
change-id: 20261007-dtb-dirs-v3-008fa5ffbc74
Best regards,
Signature · 1 line
Rob Herring (Arm) <[email protected]>