[PATCH] sandbox: Adjust how OS-interface files are built
Tom Rini
trini at konsulko.com
Tue Apr 7 21:50:22 CEST 2026
On Tue, 24 Mar 2026 13:45:20 -0600, Simon Glass wrote:
> The current mechanism uses a completely separate build rule for each
> file which must be built with system headers. This is tricky to
> maintain.
>
> Add a foreach template in the sandbox cpu Makefile which generates the
> custom compile rules from a CFLAGS_USE_SYSHDRS list. This keeps the
> rules data-driven without needing changes to the common
> scripts/Makefile.lib, which could affect other architectures.
>
> [...]
Applied to u-boot/master, thanks!
[1/1] sandbox: Adjust how OS-interface files are built
commit: 738428dc0e761617c5196a5210774ac7347e6bb7
--
Tom
More information about the U-Boot
mailing list