[PATCH v6 27/27] efi: Build the 64-bit app properly
Simon Glass
sjg at chromium.org
Fri Dec 17 20:40:59 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>
---
(no changes since v5)
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 18fe6fdb440..83f2e04c225 100644
--- a/Makefile
+++ b/Makefile
@@ -1772,9 +1772,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