[PATCH v7 24/24] efi: Build the 64-bit app properly
Simon Glass
sjg at chromium.org
Sat Dec 18 19:28:50 CET 2021
Now that the linker crash is resolved, build the 64-bit EFI app, including
all the required code.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
Changes in v7:
- Rebase on -master instead of -next
Changes in v5:
- Add new patch to build the 64-bit app properly
- Add various patches to fix up the 64-bit app so that it boots
Changes in v2:
- Add new patch to support the efi command in the app
Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 179d31483ee..b53540c271a 100644
--- a/Makefile
+++ b/Makefile
@@ -1764,9 +1764,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
--
2.34.1.173.g76aa8bc2d0-goog
More information about the U-Boot
mailing list