Use the "m64" to parse the flag of x86-64 toolchains.

Signed-off-by: Guojian Zhou <guojian.z...@windriver.com>
---
 common/recipes-extended/dpdk/dpdk.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/recipes-extended/dpdk/dpdk.inc 
b/common/recipes-extended/dpdk/dpdk.inc
index 483c7a5..fd0e1c9 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"
-- 
2.11.0

-- 
_______________________________________________
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel

Reply via email to