Skip to content

Commit 4d79540

Browse files
authored
Merge pull request F-Stack#271 from morishima311/develop
Fix static building path of FF_DPDK
2 parents fbd3923 + aa11ba2 commit 4d79540

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ ifeq ($(FF_DPDK),)
2727
FF_DPDK=${TOPDIR}/dpdk/x86_64-native-linuxapp-gcc
2828
endif
2929

30+
ifdef RTE_SDK
31+
FF_DPDK=${RTE_SDK}/x86_64-native-linuxapp-gcc
32+
endif
33+
3034
DPDK_CFLAGS= -Wall -Werror -include ${FF_DPDK}/include/rte_config.h
3135
DPDK_CFLAGS+= -march=native -DRTE_MACHINE_CPUFLAG_SSE -DRTE_MACHINE_CPUFLAG_SSE2 -DRTE_MACHINE_CPUFLAG_SSE3
3236
DPDK_CFLAGS+= -DRTE_MACHINE_CPUFLAG_SSSE3 -DRTE_MACHINE_CPUFLAG_SSE4_1 -DRTE_MACHINE_CPUFLAG_SSE4_2

0 commit comments

Comments
 (0)