[coreboot-gerrit] New patch to review for coreboot: arm64: Fix 'verstage-objs: command not found' error

Patrick Georgi (pgeorgi@google.com) gerrit at coreboot.org
Thu Aug 27 15:39:34 CEST 2015


Patrick Georgi (pgeorgi at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/11402

-gerrit

commit c20f9aa8c828b9c05182cd10ca7d51a1c7609a98
Author: Yidi Lin <yidi.lin at mediatek.com>
Date:   Mon Aug 10 11:17:14 2015 +0800

    arm64: Fix 'verstage-objs: command not found' error
    
    Fix following compilation error.
    
        LINK       cbfs/fallback/verstage.debug
    /bin/sh: verstage-objs: command not found
    /usr/x86_64-pc-linux-gnu/aarch64-cros-linux-gnu/binutils-bin/2.24/ld.bfd.real: warning: cannot find entry symbol stage_entry; defaulting to 00000000000d7000
    
    BRANCH=chromeos-2015.07
    BUG=none
    TEST=emerge-oak coreboot
    
    Change-Id: I30e4c43625b2d1d076f24e8c2639ce951839661b
    Signed-off-by: Patrick Georgi <patrick at georgi-clan.de>
    Original-Commit-Id: 2a8936cdf34d315f580819df682335b2998f044f
    Original-Change-Id: I9afd57a5a868a348dff2c66cad0a8a09cdb2e911
    Original-Signed-off-by: Yidi Lin <yidi.lin at mediatek.com>
    Original-Reviewed-on: https://chromium-review.googlesource.com/292557
    Original-Reviewed-by: Julius Werner <jwerner at chromium.org>
    Original-Reviewed-by: Patrick Georgi <pgeorgi at chromium.org>
---
 src/arch/arm64/Makefile.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/arch/arm64/Makefile.inc b/src/arch/arm64/Makefile.inc
index e7ee84c..3e14f8b 100644
--- a/src/arch/arm64/Makefile.inc
+++ b/src/arch/arm64/Makefile.inc
@@ -86,7 +86,7 @@ ifeq ($(CONFIG_ARCH_VERSTAGE_ARM64),y)
 
 $(objcbfs)/verstage.debug: $(objgenerated)/libverstage.a $$(verstage-objs)
 	@printf "    LINK       $(subst $(obj)/,,$(@))\n"
-	$(LD_verstage) --gc-sections -static -o $@ -L$(obj) --whole-archive --start-group $(objgenerated)/libverstage.a $$(verstage-objs) --end-group -T $(obj)/mainboard/$(MAINBOARDDIR)/memlayout.verstage.ld
+	$(LD_verstage) --gc-sections -static -o $@ -L$(obj) --whole-archive --start-group $(filter-out %.ld,$(verstage-objs)) $(objgenerated)/libverstage.a --end-group -T $(obj)/mainboard/$(MAINBOARDDIR)/memlayout.verstage.ld
 
 verstage-y += boot.c
 verstage-y += div0.c



More information about the coreboot-gerrit mailing list