[meta-intel] [PATCH] dpdk: Fix the self reference error when building with unsupported arch
Kevin Hao
kexin.hao at windriver.com
Wed Apr 25 18:51:48 PDT 2018
Fix the following parse error when building with unsupported arch, such
as arm:
bb.data_smart.ExpansionError: Failure expanding variable RTE_TARGET, expression was ${RTE_TARGET} which triggered exception Exception: variable RTE_TARGET references itself!
Signed-off-by: Kevin Hao <kexin.hao at windriver.com>
---
recipes-extended/dpdk/dpdk.inc | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/recipes-extended/dpdk/dpdk.inc b/recipes-extended/dpdk/dpdk.inc
index 40f25ee3ed9a..0dd6f0a57fd9 100644
--- a/recipes-extended/dpdk/dpdk.inc
+++ b/recipes-extended/dpdk/dpdk.inc
@@ -58,10 +58,10 @@ export ICP_LAC_API_DIR = "${STAGING_DIR_TARGET}${includedir}/lac"
export EXAMPLES_BUILD_DIR = "${RTE_TARGET}"
export ARCHDIR = "generic"
-RTE_TARGET_x86-64 = "x86_64-native-linuxapp-gcc"
-RTE_TARGET_i686 = "i686-native-linuxapp-gcc"
-RTE_TARGET_aarch64 = "arm64-${DPDK_TARGET_MACH}-linuxapp-gcc"
-export RTE_TARGET="${RTE_TARGET}"
+DPDK_RTE_TARGET_x86-64 = "x86_64-native-linuxapp-gcc"
+DPDK_RTE_TARGET_i686 = "i686-native-linuxapp-gcc"
+DPDK_RTE_TARGET_aarch64 = "arm64-${DPDK_TARGET_MACH}-linuxapp-gcc"
+export RTE_TARGET = "${DPDK_RTE_TARGET}"
# The list of intel Comms platforms and their target machine
# process mapping. The supported target machine is listed under
--
2.14.3
More information about the meta-intel
mailing list