[coreboot-gerrit] New patch to review for coreboot: xcompile: Only include arm64 erratum check in arm64 section

Martin Roth (martinroth@google.com) gerrit at coreboot.org
Tue Jan 5 23:01:25 CET 2016


Martin Roth (martinroth at google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/12842

-gerrit

commit 09e51328574594bcb4a36f346fdc12f8de94b2eb
Author: Martin Roth <martinroth at google.com>
Date:   Tue Jan 5 14:56:13 2016 -0700

    xcompile: Only include arm64 erratum check in arm64 section
    
    Clean up the output file a bit by only including the erratum
    for arm64 into the that architecture section instead of
    every architecture.
    
    Change-Id: Ib6276f12aee5deb92a03e1c4fa2ad57db46bdc8f
    Signed-off-by: Martin Roth <martinroth at google.com>
---
 util/xcompile/xcompile | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile
index be08f74..c8cf6e9 100755
--- a/util/xcompile/xcompile
+++ b/util/xcompile/xcompile
@@ -227,9 +227,19 @@ endif
 CPP_${TARCH}:=${GCCPREFIX}cpp
 AS_${TARCH}:=${GCCPREFIX}as ${ASFLAGS}
 LD_${TARCH}:=${GCCPREFIX}ld${LINKER_SUFFIX} ${LDFLAGS}
+EOF
+
+	if [ "${TARCH}" = "arm64" ]; then
+	cat <<EOF
+
 ifeq (\$(CONFIG_ARM64_A53_ERRATUM_843419)\$(CONFIG_LP_ARM64_A53_ERRATUM_843419),y)
-LD_${TARCH}+=${LDFLAGS_ARM64_A53_ERRATUM_843419}
+	LD_${TARCH}+=${LDFLAGS_ARM64_A53_ERRATUM_843419}
 endif
+
+EOF
+	fi # if [ "${TARCH}" = "arm64" ]
+
+	cat <<EOF
 NM_${TARCH}:=${GCCPREFIX}nm
 OBJCOPY_${TARCH}:=${GCCPREFIX}objcopy
 OBJDUMP_${TARCH}:=${GCCPREFIX}objdump



More information about the coreboot-gerrit mailing list