Now that the linker crash is resolved, build the 64-bit EFI app, including
all the required code.

Signed-off-by: Simon Glass <s...@chromium.org>
---

Changes in v9:
- Drop changes previously applied

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 074ba7349f2..1ba168aeb2d 100644
--- a/Makefile
+++ b/Makefile
@@ -1776,9 +1776,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.448.ga2b2bfdf31-goog

Reply via email to