diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-07-13 23:23:15 -0700 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2019-07-15 07:29:39 -0300 |
commit | 3980b9113952c5a6910005cfaf17eaa9fb8196b5 (patch) | |
tree | e9b03276e35eb44ad1199d37c337a935152cb4b1 /recipes-extended | |
parent | 467b5754f0606bb0e1c85551f1ed3ee745e626fe (diff) | |
download | meta-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.inc | 9 | ||||
-rw-r--r-- | recipes-extended/vpp-core/dpdkvpp.bb | 9 |
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 | ||
18 | inherit module | 18 | inherit module |
19 | 19 | ||
20 | export RTE_TARGET = "${ARCH}-dpaa-linuxapp-gcc" | 20 | COMPATIBLE_HOST = '(aarch64|arm|i.86|x86_64).*-linux' |
21 | COMPATIBLE_HOST_libc-musl = 'null' | ||
22 | |||
23 | DPDK_RTE_TARGET_x86-64 = "x86_64-native-linuxapp-gcc" | ||
24 | DPDK_RTE_TARGET_x86 = "i686-native-linuxapp-gcc" | ||
25 | DPDK_RTE_TARGET ?= "${ARCH}-dpaa-linuxapp-gcc" | ||
26 | |||
27 | export RTE_TARGET = "${DPDK_RTE_TARGET}" | ||
21 | export RTE_OUTPUT = "${S}/${RTE_TARGET}" | 28 | export RTE_OUTPUT = "${S}/${RTE_TARGET}" |
22 | export MODULE_DIR = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/net" | 29 | export 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 | ||
18 | inherit module | 18 | inherit module |
19 | 19 | ||
20 | export RTE_TARGET = "${ARCH}-dpaa-linuxapp-gcc" | 20 | COMPATIBLE_HOST = '(aarch64|arm|i.86|x86_64).*-linux' |
21 | COMPATIBLE_HOST_libc-musl = 'null' | ||
22 | |||
23 | DPDK_RTE_TARGET_x86-64 = "x86_64-native-linuxapp-gcc" | ||
24 | DPDK_RTE_TARGET_x86 = "i686-native-linuxapp-gcc" | ||
25 | DPDK_RTE_TARGET ?= "${ARCH}-dpaa-linuxapp-gcc" | ||
26 | |||
27 | export RTE_TARGET = "${DPDK_RTE_TARGET}" | ||
21 | export RTE_OUTPUT = "${S}/${RTE_TARGET}" | 28 | export RTE_OUTPUT = "${S}/${RTE_TARGET}" |
22 | 29 | ||
23 | S = "${WORKDIR}/git" | 30 | S = "${WORKDIR}/git" |