summaryrefslogtreecommitdiff
path: root/util/xcompile
diff options
context:
space:
mode:
Diffstat (limited to 'util/xcompile')
-rwxr-xr-xutil/xcompile/xcompile12
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