From a6e77027870826539f3dd4835c3b9dbc48f216c8 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Thu, 7 Jan 2016 14:57:26 -0700 Subject: xcompile: More updates on ARM64 Erratum flags I tried to handle the checking for the config flag internal to xcompile, but the config flags don't appear to have been loaded into the environment by make at that point. This does update the if to check if the flag is even set before putting anything into .xcompile though. If the LDFLAG isn't set, there's no point in appending anything. Also removes the LP version of the erratum config flag, which was a copy/paste mistake from $(CONFIG_LP_COMPILER_GCC). Change-Id: I3d8b0328c85310393a120741a498bc18867a6f54 Signed-off-by: Martin Roth Reviewed-on: https://review.coreboot.org/12858 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- util/xcompile/xcompile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile index b3dd074486..a1856e4232 100755 --- a/util/xcompile/xcompile +++ b/util/xcompile/xcompile @@ -231,15 +231,16 @@ AS_${TARCH}:=${GCCPREFIX}as ${ASFLAGS} LD_${TARCH}:=${GCCPREFIX}ld${LINKER_SUFFIX} ${LDFLAGS} EOF - if [ "${TARCH}" = "arm64" ]; then - cat <