summaryrefslogtreecommitdiff
path: root/drivers/net/Makefile
diff options
context:
space:
mode:
authorFerruh Yigit <ferruh.yigit@intel.com>2017-04-06 18:05:09 +0100
committerThomas Monjalon <thomas.monjalon@6wind.com>2017-04-06 20:40:27 +0200
commit0b9ce550c4f60a69da558da6044e1b394256b43c (patch)
treebaba76ba2e67bf6873f5613896d52ba4c1dd01d2 /drivers/net/Makefile
parent3fb45fdb66412063a5fe249db858638ce619aceb (diff)
downloaddpdk-next-eventdev-0b9ce550c4f60a69da558da6044e1b394256b43c.zip
dpdk-next-eventdev-0b9ce550c4f60a69da558da6044e1b394256b43c.tar.gz
dpdk-next-eventdev-0b9ce550c4f60a69da558da6044e1b394256b43c.tar.xz
net/thunderx: disable PMD for old compilers
Disable for gcc < 4.7 and icc <= 14.0 PMD uses some compiler builtins and new compiler options. Tested with gcc 4.5.1 and following were not supported: option: -Ofast macros: _Static_assert __ORDER_LITTLE_ENDIAN__ __ORDER_BIG_ENDIAN__ __BYTE_ORDER__ __atomic_fetch_add __ATOMIC_ACQUIRE __atomic_load_n __ATOMIC_RELAXED __atomic_store_n __ATOMIC_RELEASE It is not easy to fix all in PMD, disabling PMD for older compilers. Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Diffstat (limited to 'drivers/net/Makefile')
-rw-r--r--drivers/net/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/Makefile b/drivers/net/Makefile
index 7a2cb00..3d180e1 100644
--- a/drivers/net/Makefile
+++ b/drivers/net/Makefile
@@ -31,6 +31,11 @@
include $(RTE_SDK)/mk/rte.vars.mk
+# set in mk/toolchain/xxx/rte.toolchain-compat.mk
+ifeq ($(CONFIG_RTE_LIBRTE_THUNDERX_NICVF_PMD),d)
+ $(warning thunderx pmd is not supported by old compilers)
+endif
+
core-libs := librte_eal librte_mbuf librte_mempool librte_ring librte_ether
core-libs += librte_net librte_kvargs