kbuild: Allow DTB overlays to built into .dtbo.S files
authorAndrew Davis <afd@ti.com>
Mon, 24 Oct 2022 17:34:29 +0000 (12:34 -0500)
committerRob Herring <robh@kernel.org>
Wed, 26 Oct 2022 14:01:34 +0000 (09:01 -0500)
commit941214a512d8c80d47e720c17ec17e8539175e93
tree02e2f9bd44b6b59ed65e6731c775dcb533be08d2
parent363547d2191cbc32ca954ba75d72908712398ff2
kbuild: Allow DTB overlays to built into .dtbo.S files

DTB files can be built into the kernel by converting them to assembly
files then assembling them into object files. We extend this here
for DTB overlays with the .dtso extensions.

We change the start and end delimiting tag prefix to make it clear that
this data came from overlay files.

[Based on patch by Frank Rowand <frank.rowand@sony.com>]

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Frank Rowand <frowand.list@gmail.com>
Tested-by: Frank Rowand <frowand.list@gmail.com>
Link: https://lore.kernel.org/r/20221024173434.32518-3-afd@ti.com
Signed-off-by: Rob Herring <robh@kernel.org>
scripts/Makefile.lib