x86: correct usage of CFLAGS_NON_EFI
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 11 Apr 2021 09:21:57 +0000 (11:21 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 20 Apr 2021 11:31:12 +0000 (07:31 -0400)
commit1598c83ecec64619379834ec21de8efe2536ac3d
tree6db09e95354b6486841b39bb6a7ec0ecb3525cc1
parent1b8897c63e4c4eedd55f69f9728cd49f2a1cddba
x86: correct usage of CFLAGS_NON_EFI

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@gmx.de>
arch/x86/config.mk