summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-01-04 13:51:15 +0300
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-01-15 12:57:22 +0300
commit59e8f36dd93e75f406410be97057b22e452741b1 (patch)
tree7e726f75421881b757655e0770d6bf9e595038b8 /arch
parent3b4ae096b0ed21f3646378cb58d4c03ea2404bac (diff)
downloadu-boot-59e8f36dd93e75f406410be97057b22e452741b1.tar.xz
x86: efi: Don't use the 64-bit link script for the EFI app
That script is not intended for use with EFI, so update the logic to avoid using it. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Christian Melki <christian.melki@t2data.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/cpu/config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/cpu/config.mk b/arch/x86/cpu/config.mk
index d3033b4160..87e242a206 100644
--- a/arch/x86/cpu/config.mk
+++ b/arch/x86/cpu/config.mk
@@ -9,7 +9,7 @@ LDPPFLAGS += -DRESET_VEC_LOC=$(CONFIG_RESET_VEC_LOC)
LDPPFLAGS += -DSTART_16=$(CONFIG_SYS_X86_START16)
ifdef CONFIG_X86_64
-ifndef CONFIG_SPL_BUILD
+ifeq ($(CONFIG_SPL_BUILD)$(CONFIG_EFI_APP),)
LDSCRIPT = $(srctree)/arch/x86/cpu/u-boot-64.lds
endif
endif