aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Hao <kexin.hao@windriver.com>2018-04-26 09:51:48 +0800
committerCalifornia Sullivan <california.l.sullivan@intel.com>2018-04-30 15:07:05 -0700
commit002366a2afba1e6f9f623678834f3361a1b5c82a (patch)
tree8f3dac37f919875f3385592250c93b85ddc0acc5
parent8722a569c39896f27e91607b32826e128cd0fc5b (diff)
downloadmeta-dpdk-002366a2afba1e6f9f623678834f3361a1b5c82a.tar.gz
meta-dpdk-002366a2afba1e6f9f623678834f3361a1b5c82a.tar.bz2
meta-dpdk-002366a2afba1e6f9f623678834f3361a1b5c82a.zip
dpdk: Fix the self reference error when building with unsupported arch
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@windriver.com> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
-rw-r--r--recipes-extended/dpdk/dpdk.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/recipes-extended/dpdk/dpdk.inc b/recipes-extended/dpdk/dpdk.inc
index 40f25ee..0dd6f0a 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