[PATCH v10 2/3] x86: correct usage of CFLAGS_NON_EFI

Simon Glass sjg at chromium.org
Wed Apr 14 21:38:45 CEST 2021


Hi Heinrich,

On Sun, 11 Apr 2021 at 10:23, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> The current usage of the variable CFLAGS_NON_EFI on the x86 architecture
> deviates from other architectures.
>
> Variable CFLAGS_NON_EFI is the list of compiler flags to be removed when
> building UEFI applications. It is not a list of flags to be added anywhere.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
> v10:
>         new patch
> ---
>  arch/x86/config.mk | 10 ++++++----
>  1 file changed, 6 insertions(+), 4 deletions(-)

Well it used to be the flags to add when not building EFI apps... I
suppose it doesn't matter so long as it works.

Regards,
Simon


More information about the U-Boot mailing list