[PATCH] api: Rework menu, and make it depend on CC_IS_GCC

Simon Glass sjg at chromium.org
Fri Apr 7 07:31:15 CEST 2023


On Fri, 7 Apr 2023 at 01:49, Tom Rini <trini at konsulko.com> wrote:
>
> We can only use the old U-Boot API for standalone applications when
> building U-Boot with GCC as it relies upon the "gd is a register" trick
> that only GCC supports. Further, rework the rest of the options so that
> they are in the API menu and only visible if API support is enabled.
>
> Reported-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
>  api/Kconfig | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list