Skip to content

kbuild: Add wilddt function instead of listing dtbs

Leonard Crestez linux-arm-kernel linux-devicetree linux-kbuild lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Changes since RFC from the cover letter

* Split into 3-part series
* Move the wilddt to Kbuild.include so that it's available everywhere
* Use $(srctree)/$(src) instead of $(dtstree)
* Also use wilddt in arm64/boot/dts/freescale

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3kbuild: Add wilddt functionscripts/Kbuild.include+6 -00 replies
2/3ARM: dts: imx: Use wilddt functionarch/arm/boot/dts/Makefile+11 -1900 replies
3/3arm64: dts: freescale: Use wilddt functionarch/arm64/boot/dts/freescale/Makefile+4 -210 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] kbuild: Add wilddt function instead of listing dtbs

The dts makefiles go through a lot of pointless churn when boards are added. Many SOCs (such as imx) have very simple naming conventions for all boards using a certain chip and board listings can be easily collapsed using wildcards.

Add a "wilddt" function and use it for imx6/7/8 and layerscape. This can be applied to many other soc families later.

Previously sent as RFC: https://lore.kernel.org/patchwork/patch/1022737/

Changes since RFC:
* Split into 3-part series
* Move the wilddt to Kbuild.include so that it's available everywhere
* Use $(srctree)/$(src) instead of $(dtstree)
* Also use wilddt in arm64/boot/dts/freescale

Series is against next-20190107, conflicts are to be expected as board list keeps changing.

Leonard Crestez (3):
kbuild: Add wilddt function
ARM: dts: imx: Use wilddt function
arm64: dts: freescale: Use wilddt function

 arch/arm/boot/dts/Makefile             | 201 ++-----------------------
 arch/arm64/boot/dts/freescale/Makefile |  25 +--
 scripts/Kbuild.include                 |   6 +
 3 files changed, 21 insertions(+), 211 deletions(-)
Signature · 1 line
2.17.1