Re: [PATCH] include/env.h: use plain old #ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
Tom Rini <[email protected]>
| Newsgroups | org.u-boot-project.lists.u-boot |
|---|---|
| Message-ID | <20260828155043.GI3959812@bill-the-cat> |
On Fri, Aug 28, 2026 at 05:06:00PM +0200, Rasmus Villemoes wrote:
> Commit 9f1807e57cb ("env: add env_set_runtime() helper") broke the use
> of "make envtools" to create the target fw_setenv/fw_printenv
> binaries. The problem is that the #include <config.h>, in addition to
> pulling in linux/kconfig.h to get the IS_ENABLED() helper, also ends
> up pulling in lots of architecture/board specific headers.
>
> Fix it by simply using an #ifdef.
>
> Signed-off-by: Rasmus Villemoes <[email protected]>
Thanks for picking this issue up.
Reviewed-by: Tom Rini <[email protected]>
--
Tom
signature.asc
(application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQTzzqh0PWDgGS+bTHor4qD1Cr/kCgUCapGuTAAKCRAr4qD1Cr/k Ci0oAQDybR4K7MHqGRr3oKJmyCeXC13bzd4Rm4AMBR9ncijdggD+JIl4eGrJGlkV hhWl3H+j5eP3rePJrYD76RVyuaMQggI= =pgIk -----END PGP SIGNATURE-----