[coreboot-gerrit] Patch set updated for coreboot: libpayload: Fix ARM workaround code

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Sun Mar 13 01:42:47 CET 2016


Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14076

-gerrit

commit 5592fbb524008e34a4f80a1d7e1e128068cbbc5f
Author: Stefan Reinauer <stefan.reinauer at coreboot.org>
Date:   Sat Mar 12 16:38:17 2016 -0800

    libpayload: Fix ARM workaround code
    
    _LDFLAGS+="foo" did not work in my shell (bash on Ubuntu 15.10),
    so change it to _LDFLAGS="$_LDFLAGS foo". I'm mildly surprised
    that this ever worked.
    
    Change-Id: I59c10f34992240c6df2ec7f24aebc6daafb76493
    Signed-off-by: Stefan Reinauer <stefan.reinauer at coreboot.org>
---
 payloads/libpayload/bin/lpgcc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/payloads/libpayload/bin/lpgcc b/payloads/libpayload/bin/lpgcc
index 7511300..b3ef342 100755
--- a/payloads/libpayload/bin/lpgcc
+++ b/payloads/libpayload/bin/lpgcc
@@ -184,7 +184,7 @@ else
 
     if grep -q ARM64_A53_ERRATUM_843419=y $BASE/../libpayload.config &&
        grep -q fix-cortex-a53-843419 $BASE/../libpayload.xcompile; then
-            _LDFLAGS+=" -Wl,--fix-cortex-a53-843419"
+            _LDFLAGS="$_LDFLAGS -Wl,--fix-cortex-a53-843419"
     fi
 
     _LDFLAGS="$_LDFLAGS -Wl,--defsym=CONFIG_LP_BASE_ADDRESS=$CONFIG_LP_BASE_ADDRESS"



More information about the coreboot-gerrit mailing list