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 <s...@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

Attachment: signature.asc
Description: PGP signature

Reply via email to