dpdk: Set the correct RTE_TARGET for x86 machines

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@windriver.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
This commit is contained in:
Kevin Hao 2018-04-26 14:04:55 +08:00 committed by California Sullivan
parent 002366a2af
commit 9d2d7a6062

View File

@ -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}"