[meta-intel] [PATCH] dpdk: Set the correct RTE_TARGET for x86 machines

Kevin Hao kexin.hao at windriver.com
Wed Apr 25 23:04:55 PDT 2018


The TARGET_ARCH may be different for different x86 machines,
for example i586(qemux86) and i686(genericx86). So choose the "x86"
override to set the correct RTE_TARGET for these machines.

Signed-off-by: Kevin Hao <kexin.hao at windriver.com>
---
 recipes-extended/dpdk/dpdk.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-extended/dpdk/dpdk.inc b/recipes-extended/dpdk/dpdk.inc
index 0dd6f0a57fd9..9026dfeac055 100644
--- a/recipes-extended/dpdk/dpdk.inc
+++ b/recipes-extended/dpdk/dpdk.inc
@@ -59,7 +59,7 @@ export EXAMPLES_BUILD_DIR = "${RTE_TARGET}"
 export ARCHDIR = "generic"
 
 DPDK_RTE_TARGET_x86-64 = "x86_64-native-linuxapp-gcc"
-DPDK_RTE_TARGET_i686 = "i686-native-linuxapp-gcc"
+DPDK_RTE_TARGET_x86 = "i686-native-linuxapp-gcc"
 DPDK_RTE_TARGET_aarch64 = "arm64-${DPDK_TARGET_MACH}-linuxapp-gcc"
 export RTE_TARGET = "${DPDK_RTE_TARGET}"
 
-- 
2.14.3



More information about the meta-intel mailing list