[PATCH 2/2] kbuild: Allow DTB overlays to built from .dtso named source files
Tom Rini
trini at konsulko.com
Mon May 15 23:12:54 CEST 2023
On Thu, May 04, 2023 at 02:26:44PM +0200, Rasmus Villemoes wrote:
> [Linux commit 363547d2191c]
>
> Currently DTB Overlays (.dtbo) are build from source files with the same
> extension (.dts) as the base DTs (.dtb). This may become confusing and
> even lead to wrong results. For example, a composite DTB (created from a
> base DTB and a set of overlays) might have the same name as one of the
> overlays that create it.
>
> Different files should be generated from differently named sources.
> .dtb <-> .dts
> .dtbo <-> .dtso
>
> We do not remove the ability to compile DTBO files from .dts files here,
> only add a new rule allowing the .dtso file name. The current .dts named
> overlays can be renamed with time. After all have been renamed we can
> remove the other rule.
>
> [Import notes: Adapt to U-Boot by using the cmd_dtco function instead
> of cmd_dtc just like the current .dts -> .dtbo rule.]
>
> Signed-off-by: Rasmus Villemoes <rasmus.villemoes at prevas.dk>
> Reviewed-by: Simon Glass <sjg at chromium.org>
Applied to u-boot/next, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230515/d75cddbe/attachment.sig>
More information about the U-Boot
mailing list