[PATCH 30/32] efi: arm: Use EFI flags for all compilation with the app
Tom Rini
trini at konsulko.com
Mon Feb 3 21:10:29 CET 2025
On Mon, Feb 03, 2025 at 10:42:23AM -0700, Simon Glass wrote:
> As opposed to the payload, which is built normally with just an EFI
> stub, the app is build homogenously using EFI flags. Update
> PLATFORM_CPPFLAGS to enable this.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> arch/arm/cpu/armv8/config.mk | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/cpu/armv8/config.mk b/arch/arm/cpu/armv8/config.mk
> index d2d1a8d2bc2..cf0b89819d5 100644
> --- a/arch/arm/cpu/armv8/config.mk
> +++ b/arch/arm/cpu/armv8/config.mk
> @@ -23,5 +23,6 @@ CPPFLAGS_REMOVE_crt0-efi-aarch64.o += $(CFLAGS_NON_EFI)
> CPPFLAGS_crt0-efi-aarch64.o += $(CFLAGS_EFI)
>
> ifeq ($(CONFIG_EFI_APP),y)
> +PLATFORM_CPPFLAGS += $(CFLAGS_EFI)
> LDSCRIPT := $(LDSCRIPT_EFI)
> endif
This too should be tidied up and moved somewhere common between arm and
x86.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250203/2cf70daf/attachment.sig>
More information about the U-Boot
mailing list