summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Alnubani <alialnu@mellanox.com>2019-11-04 15:30:08 +0200
committerThomas Monjalon <thomas@monjalon.net>2019-11-08 16:40:29 +0100
commit27d6c3248d305a0515667475f404c62ecc63be06 (patch)
tree2f51e549da1dc50cb742840b45312a89548b7614
parent1f7250dfd1f8758c754cc737845e17549dc0a298 (diff)
downloaddpdk-27d6c3248d305a0515667475f404c62ecc63be06.zip
dpdk-27d6c3248d305a0515667475f404c62ecc63be06.tar.gz
dpdk-27d6c3248d305a0515667475f404c62ecc63be06.tar.xz
mk: fix build on arm64
OcteonTx was disabled for causing an internal compiler error on old gcc versions. See commit 4f760550a093 ("mk: disable OcteonTx for buggy compilers"). The condition that was added later to apply disabling OcteonTx only on arm64 caused the condition to never be obeyed because it compares ["arm64"] to [arm64]. This fixes the condition by using RTE_ARCH instead of CONFIG_RTE_ARCH, because the former has the quotes removed, while the later doesn't. Fixes: f3af3e44a444 ("mk: disable OcteonTx for buggy compilers only on arm64") Cc: stable@dpdk.org Signed-off-by: Ali Alnubani <alialnu@mellanox.com> Acked-by: Thomas Monjalon <thomas@monjalon.net> Acked-by: Jerin Jacob <jerinj@marvell.com>
-rw-r--r--mk/toolchain/gcc/rte.toolchain-compat.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/toolchain/gcc/rte.toolchain-compat.mk b/mk/toolchain/gcc/rte.toolchain-compat.mk
index 69a53e5..35376da 100644
--- a/mk/toolchain/gcc/rte.toolchain-compat.mk
+++ b/mk/toolchain/gcc/rte.toolchain-compat.mk
@@ -103,7 +103,7 @@ else
endif
# Disable octeontx event PMD for gcc < 4.8.6 & ARCH=arm64
- ifeq ($(CONFIG_RTE_ARCH), arm64)
+ ifeq ($(RTE_ARCH), arm64)
ifeq ($(shell test $(GCC_VERSION)$(GCC_PATCHLEVEL) -lt 486 && echo 1), 1)
CONFIG_RTE_LIBRTE_PMD_OCTEONTX_SSOVF=d
CONFIG_RTE_LIBRTE_OCTEONTX_MEMPOOL=d