summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rwxr-xr-xutil/xcompile/xcompile9
1 files 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 <<EOF
+ if [ "${TARCH}" = "arm64" ] && \
+ [ -n "${LDFLAGS_ARM64_A53_ERRATUM_843419}" ]; then
+ cat <<EOF
-ifeq (\$(CONFIG_ARM64_A53_ERRATUM_843419)\$(CONFIG_LP_ARM64_A53_ERRATUM_843419),y)
+ifeq (\$(CONFIG_ARM64_A53_ERRATUM_843419),y)
LD_${TARCH}+=${LDFLAGS_ARM64_A53_ERRATUM_843419}
endif
EOF
- fi # if [ "${TARCH}" = "arm64" ]
+ fi # if [ "${TARCH}" = "arm64" ]...
cat <<EOF
NM_${TARCH}:=${GCCPREFIX}nm