[PATCH 03/13] boot: Tidy up setting of the OS arch on host builds
Tom Rini
trini at konsulko.com
Wed Apr 8 18:25:56 CEST 2026
On Wed, Mar 25, 2026 at 10:54:12AM -0600, Simon Glass wrote:
> This field is not present in host builds. Create an inline function to
> handle this complexity, so we can drop the #ifdef in the C file.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
I'm not sure hiding details of what the host tools do vs our regular
run time do is improving overall readability / understandability.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20260408/a75d2b1c/attachment.sig>
More information about the U-Boot
mailing list