summaryrefslogtreecommitdiffstats
path: root/recipes-extended
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-07-13 23:23:15 -0700
committerOtavio Salvador <otavio@ossystems.com.br>2019-07-15 07:29:39 -0300
commit3980b9113952c5a6910005cfaf17eaa9fb8196b5 (patch)
treee9b03276e35eb44ad1199d37c337a935152cb4b1 /recipes-extended
parent467b5754f0606bb0e1c85551f1ed3ee745e626fe (diff)
downloadmeta-freescale-3980b9113952c5a6910005cfaf17eaa9fb8196b5.tar.gz
dpdk,dpdkvpp: Limit to x86/arm
Other architectures are not supported and musl is not either Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes-extended')
-rw-r--r--recipes-extended/dpdk/dpdk.inc9
-rw-r--r--recipes-extended/vpp-core/dpdkvpp.bb9
2 files changed, 16 insertions, 2 deletions
diff --git a/recipes-extended/dpdk/dpdk.inc b/recipes-extended/dpdk/dpdk.inc
index 9004acc7..4fd2fa04 100644
--- a/recipes-extended/dpdk/dpdk.inc
+++ b/recipes-extended/dpdk/dpdk.inc
@@ -17,7 +17,14 @@ do_configure[depends] += "virtual/kernel:do_shared_workdir"
17 17
18inherit module 18inherit module
19 19
20export RTE_TARGET = "${ARCH}-dpaa-linuxapp-gcc" 20COMPATIBLE_HOST = '(aarch64|arm|i.86|x86_64).*-linux'
21COMPATIBLE_HOST_libc-musl = 'null'
22
23DPDK_RTE_TARGET_x86-64 = "x86_64-native-linuxapp-gcc"
24DPDK_RTE_TARGET_x86 = "i686-native-linuxapp-gcc"
25DPDK_RTE_TARGET ?= "${ARCH}-dpaa-linuxapp-gcc"
26
27export RTE_TARGET = "${DPDK_RTE_TARGET}"
21export RTE_OUTPUT = "${S}/${RTE_TARGET}" 28export RTE_OUTPUT = "${S}/${RTE_TARGET}"
22export MODULE_DIR = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/net" 29export MODULE_DIR = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/net"
23 30
diff --git a/recipes-extended/vpp-core/dpdkvpp.bb b/recipes-extended/vpp-core/dpdkvpp.bb
index 09e913e8..1770ce43 100644
--- a/recipes-extended/vpp-core/dpdkvpp.bb
+++ b/recipes-extended/vpp-core/dpdkvpp.bb
@@ -17,7 +17,14 @@ do_configure[depends] += "virtual/kernel:do_shared_workdir"
17 17
18inherit module 18inherit module
19 19
20export RTE_TARGET = "${ARCH}-dpaa-linuxapp-gcc" 20COMPATIBLE_HOST = '(aarch64|arm|i.86|x86_64).*-linux'
21COMPATIBLE_HOST_libc-musl = 'null'
22
23DPDK_RTE_TARGET_x86-64 = "x86_64-native-linuxapp-gcc"
24DPDK_RTE_TARGET_x86 = "i686-native-linuxapp-gcc"
25DPDK_RTE_TARGET ?= "${ARCH}-dpaa-linuxapp-gcc"
26
27export RTE_TARGET = "${DPDK_RTE_TARGET}"
21export RTE_OUTPUT = "${S}/${RTE_TARGET}" 28export RTE_OUTPUT = "${S}/${RTE_TARGET}"
22 29
23S = "${WORKDIR}/git" 30S = "${WORKDIR}/git"