]> git.droids-corp.org - dpdk.git/blobdiff - mk/toolchain/icc/rte.toolchain-compat.mk
net/thunderx: disable PMD for old compilers
[dpdk.git] / mk / toolchain / icc / rte.toolchain-compat.mk
index 41344668ebc469b6642912d6c41f528687070e57..73770f72d9fd7a37e2ce10bb391845055900426f 100644 (file)
@@ -72,4 +72,9 @@ else
                # remove march options
                MACHINE_CFLAGS := $(patsubst -march=%,-xSSE3,$(MACHINE_CFLAGS))
        endif
+
+       # Disable thunderx PMD for icc <= 14.0
+       ifeq ($(shell test $(ICC_MAJOR_VERSION) -le 14 && echo 1), 1)
+               CONFIG_RTE_LIBRTE_THUNDERX_NICVF_PMD=d
+       endif
 endif