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>
This commit is contained in:
Simon Glass 2022-01-04 03:51:17 -07:00 committed by Heinrich Schuchardt
parent 081dfcf783
commit ce2f09bcc2

View File

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