diff options
-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 be08f740a7..c8cf6e9066 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 |