summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-01-04 03:51:17 -0700
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-01-15 10:57:22 +0100
commitce2f09bcc2bdbc7a4b18f5db8a656768c4f98a98 (patch)
tree520e89caafbfa2472d66a472561e73f207c99469 /Makefile
parent081dfcf783c80a8abf717df984c94970d128b98a (diff)
efi: Build the 64-bit app properly
Now that the linker crash is resolved, build the 64-bit EFI app, including all the required code. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0034a844b4..b08bad4873 100644
--- a/Makefile
+++ b/Makefile
@@ -1781,9 +1781,9 @@ else
quiet_cmd_u-boot__ ?= LD $@
cmd_u-boot__ ?= $(LD) $(KBUILD_LDFLAGS) $(LDFLAGS_u-boot) -o $@ \
-T u-boot.lds $(u-boot-init) \
- $(if $(CONFIG_EFI_APP_64BIT),,--whole-archive) \
+ --whole-archive \
$(u-boot-main) \
- $(if $(CONFIG_EFI_APP_64BIT),,--no-whole-archive) \
+ --no-whole-archive \
$(PLATFORM_LIBS) -Map u-boot.map; \
$(if $(ARCH_POSTLINK), $(MAKE) -f $(ARCH_POSTLINK) $@, true)
endif