diff options
author | Martin Roth <martinroth@google.com> | 2016-01-05 14:56:13 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-01-07 17:23:02 +0100 |
commit | af0216f1b87b22580bb652bb7ad5071d57e63ad6 (patch) | |
tree | cb3c5448689d832ace0a2135cf4036af7a6d2021 /util | |
parent | c4b684ebee0ccbf1b67064317f68f5287e720642 (diff) | |
download | coreboot-af0216f1b87b22580bb652bb7ad5071d57e63ad6.tar.gz coreboot-af0216f1b87b22580bb652bb7ad5071d57e63ad6.tar.bz2 coreboot-af0216f1b87b22580bb652bb7ad5071d57e63ad6.zip |
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@google.com>
Reviewed-on: https://review.coreboot.org/12842
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util')
-rwxr-xr-x | util/xcompile/xcompile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile index be08f740a7f1..c8cf6e906603 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 |