diff --git a/lib/Makefile b/lib/Makefile index 4c7c3c756..89e713021 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -24,18 +24,18 @@ FF_KNI=1 #FF_IPFW=1 ifeq ($(FF_DPDK),) -ifeq (${MACHINE_CPUARCH},aarch64) +ifeq (${shell uname -m},aarch64) FF_DPDK=${TOPDIR}/dpdk/build else - #FF_DPDK=${TOPDIR}/dpdk/x86_64-native-linuxapp-gcc + FF_DPDK=${TOPDIR}/dpdk/x86_64-native-linuxapp-gcc endif endif ifdef RTE_SDK -ifeq (${MACHINE_CPUARCH},aarch64) +ifeq (${shell uname -m},aarch64) FF_DPDK=${RTE_SDK}/build else - #FF_DPDK=${RTE_SDK}/x86_64-native-linuxapp-gcc + FF_DPDK=${RTE_SDK}/x86_64-native-linuxapp-gcc endif endif