[meta-intel] [PATCH] dpdk: Fix build error on the core2-64
Guojian Zhou
guojian.zhou at windriver.com
Thu Aug 10 03:31:09 PDT 2017
Use the "m64" to parse the flag of x86-64 toolchains.
Signed-off-by: Guojian Zhou <guojian.zhou at 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
More information about the meta-intel
mailing list