From 634986e2dad6fac19463f15de4dcd166d98ac305 Mon Sep 17 00:00:00 2001 From: Guojian Zhou Date: Thu, 10 Aug 2017 06:31:09 -0400 Subject: dpdk: Fix build error on the core2-64 Use the "m64" to parse the flag of x86-64 toolchains. Signed-off-by: Guojian Zhou Signed-off-by: Saul Wold --- common/recipes-extended/dpdk/dpdk.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') diff --git a/common/recipes-extended/dpdk/dpdk.inc b/common/recipes-extended/dpdk/dpdk.inc index 483c7a5e..fd0e1c95 100644 --- a/common/recipes-extended/dpdk/dpdk.inc +++ b/common/recipes-extended/dpdk/dpdk.inc @@ -38,7 +38,7 @@ inherit module export MODULE_DIR="/lib/modules/${KERNEL_VERSION}/kernel/drivers/net" export RTE_SDK = "${S}" -export RTE_TARGET="${@bb.utils.contains("TUNE_FEATURES", "corei7", "x86_64-native-linuxapp-gcc", "i686-native-linuxapp-gcc", d)}" +export RTE_TARGET="${@bb.utils.contains("TUNE_FEATURES", "m64", "x86_64-native-linuxapp-gcc", "i686-native-linuxapp-gcc", d)}" export ICP_ROOT = "${PKG_CONFIG_SYSROOT_DIR}/usr/include" export ICP_LIB_ROOT= "${PKG_CONFIG_SYSROOT_DIR}/usr/lib" -- cgit v1.2.3-54-g00ecf