Skip to content

Commit e404bd1

Browse files
authored
Update Makefile for reserving FF_DPDK for x86
The former patch, which add compiler option for arm64, removes the FF_DPDK for x86. That's a mistake.
1 parent 0274469 commit e404bd1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,18 @@ FF_KNI=1
2424
#FF_IPFW=1
2525

2626
ifeq ($(FF_DPDK),)
27-
ifeq (${MACHINE_CPUARCH},aarch64)
27+
ifeq (${shell uname -m},aarch64)
2828
FF_DPDK=${TOPDIR}/dpdk/build
2929
else
30-
#FF_DPDK=${TOPDIR}/dpdk/x86_64-native-linuxapp-gcc
30+
FF_DPDK=${TOPDIR}/dpdk/x86_64-native-linuxapp-gcc
3131
endif
3232
endif
3333

3434
ifdef RTE_SDK
35-
ifeq (${MACHINE_CPUARCH},aarch64)
35+
ifeq (${shell uname -m},aarch64)
3636
FF_DPDK=${RTE_SDK}/build
3737
else
38-
#FF_DPDK=${RTE_SDK}/x86_64-native-linuxapp-gcc
38+
FF_DPDK=${RTE_SDK}/x86_64-native-linuxapp-gcc
3939
endif
4040
endif
4141

0 commit comments

Comments
 (0)