pci: do not expose private functions
[dpdk.git] / mk / toolchain / gcc / rte.toolchain-compat.mk
index 6eed20c..01ac7e2 100644 (file)
@@ -60,6 +60,7 @@ else
 #
        ifeq ($(shell test $(GCC_VERSION) -le 49 && echo 1), 1)
                MACHINE_CFLAGS := $(patsubst -march=armv8-a+crc,-march=armv8-a+crc -D__ARM_FEATURE_CRC32=1,$(MACHINE_CFLAGS))
+               MACHINE_CFLAGS := $(patsubst -march=armv8-a+crc+crypto,-march=armv8-a+crc+crypto -D__ARM_FEATURE_CRC32=1,$(MACHINE_CFLAGS))
        endif
        ifeq ($(shell test $(GCC_VERSION) -le 47 && echo 1), 1)
                MACHINE_CFLAGS := $(patsubst -march=core-avx-i,-march=corei7-avx,$(MACHINE_CFLAGS))
@@ -89,4 +90,9 @@ else
        ifeq ($(shell test $(GCC_VERSION) -lt 42 && echo 1), 1)
                MACHINE_CFLAGS := $(filter-out -march% -mtune% -msse%,$(MACHINE_CFLAGS))
        endif
+
+       # Disable thunderx PMD for gcc < 4.7
+       ifeq ($(shell test $(GCC_VERSION) -lt 47 && echo 1), 1)
+               CONFIG_RTE_LIBRTE_THUNDERX_NICVF_PMD=d
+       endif
 endif