mbox series

[v2,0/5] finish using .dtso for overlay source files

Message ID 20240710071612.1717460-1-rasmus.villemoes@prevas.dk
Headers show
Series finish using .dtso for overlay source files | expand

Message

Rasmus Villemoes July 10, 2024, 7:16 a.m. UTC
This is a followup to the patches that landed in 2024.01 and nearly
made sure that source files for producing .dtbo files use the .dtso
extension. In the same release, a few new .dts files snuck in, and
there was also some test code involving .dtbo -> .dtbo.S -> .dtbo.o I
didn't really know how to handle at the time. This should finish the
job, bring us in sync with linux (at least in this respect), and drop
the .dts -> .dtbo build rule.

Patch 3 depends on 2, and patch 5 depends on the rest.

v2: Fix oversight in the imx8mp-dhcom files.

Now actually tested on CI, and seems to pass except for the known
cyclic false positive:

https://dev.azure.com/u-boot/u-boot/_build/results?buildId=8897&view=logs&jobId=a1270dec-081b-5c65-5cd5-5e915a842596


Rasmus Villemoes (5):
  arm64: dts: imx8mp: rename DHCOM SoM overlays to .dtso
  kbuild: Allow DTB overlays to built into .dtbo.S files
  test: overlay: rename overlay source files to .dtso
  test/py: efi_capsule: rename device tree overlay source to .dtso
  kbuild: Disallow DTB overlays to built from .dts named source files

 ...> imx8mp-dhcom-pdk-overlay-eth2xfast.dtso} |  0
 ... => imx8mp-dhcom-pdk3-overlay-rev100.dtso} |  0
 ...> imx8mp-dhcom-som-overlay-eth1xfast.dtso} |  0
 ...> imx8mp-dhcom-som-overlay-eth2xfast.dtso} |  2 +-
 ...s => imx8mp-dhcom-som-overlay-rev100.dtso} |  0
 scripts/Makefile.lib                          | 23 +++++++++++++++----
 test/overlay/Makefile                         |  4 ++--
 test/overlay/cmd_ut_overlay.c                 |  8 +++----
 ...cked.dts => test-fdt-overlay-stacked.dtso} |  0
 ...-fdt-overlay.dts => test-fdt-overlay.dtso} |  0
 test/py/tests/test_efi_capsule/conftest.py    |  6 ++---
 .../{version.dts => version.dtso}             |  0
 12 files changed, 29 insertions(+), 14 deletions(-)
 rename arch/arm/dts/{imx8mp-dhcom-pdk-overlay-eth2xfast.dts => imx8mp-dhcom-pdk-overlay-eth2xfast.dtso} (100%)
 rename arch/arm/dts/{imx8mp-dhcom-pdk3-overlay-rev100.dts => imx8mp-dhcom-pdk3-overlay-rev100.dtso} (100%)
 rename arch/arm/dts/{imx8mp-dhcom-som-overlay-eth1xfast.dts => imx8mp-dhcom-som-overlay-eth1xfast.dtso} (100%)
 rename arch/arm/dts/{imx8mp-dhcom-som-overlay-eth2xfast.dts => imx8mp-dhcom-som-overlay-eth2xfast.dtso} (91%)
 rename arch/arm/dts/{imx8mp-dhcom-som-overlay-rev100.dts => imx8mp-dhcom-som-overlay-rev100.dtso} (100%)
 rename test/overlay/{test-fdt-overlay-stacked.dts => test-fdt-overlay-stacked.dtso} (100%)
 rename test/overlay/{test-fdt-overlay.dts => test-fdt-overlay.dtso} (100%)
 rename test/py/tests/test_efi_capsule/{version.dts => version.dtso} (100%)

Comments

Tom Rini July 18, 2024, 11:10 p.m. UTC | #1
On Wed, 10 Jul 2024 09:16:07 +0200, Rasmus Villemoes wrote:

> This is a followup to the patches that landed in 2024.01 and nearly
> made sure that source files for producing .dtbo files use the .dtso
> extension. In the same release, a few new .dts files snuck in, and
> there was also some test code involving .dtbo -> .dtbo.S -> .dtbo.o I
> didn't really know how to handle at the time. This should finish the
> job, bring us in sync with linux (at least in this respect), and drop
> the .dts -> .dtbo build rule.
> 
> [...]

Applied to u-boot/master, thanks!