[meta-dpdk][PATCH] dpdk: Remove support for arm 32bit build

Li Zhou <[email protected]>
Newsgroups org.yoctoproject.lists.yocto-patches
Message-ID <[email protected]>
Issue is reported as below when run "bitbake lib32-dpdk" for
MACHINE with ARM arch:
../sources/dpdk-25.11.0/config/arm/meson.build:853:12: ERROR:
Problem encountered: Arm SoC must be specified in the cross file.

DPDK upstream has very limited support for 32bit ARM.
e.g. There is only one arm32 related cross file (arm32_armv8_linux_gcc)
under sources/dpdk-25.11.0/config/arm, which defines:
platform = 'generic_aarch32'
cpu = 'armv8-a'

So remove support for arm 32bit build here.

Signed-off-by: Li Zhou <[email protected]>
---
 recipes-extended/dpdk/dpdk.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/recipes-extended/dpdk/dpdk.inc b/recipes-extended/dpdk/dpdk.inc
index 6c76a1d..4abd110 100644
--- a/recipes-extended/dpdk/dpdk.inc
+++ b/recipes-extended/dpdk/dpdk.inc
@@ -20,6 +20,7 @@ def get_cpu_instruction_set(bb, d):
 EXTRA_OEMESON = " -Dcpu_instruction_set=${@get_cpu_instruction_set(bb, d)}"
 EXTRA_OEMESON:aarch64 = " --cross-file ${WORKDIR}/dpdk.cross"
 
+COMPATIBLE_HOST:arm = "null"
 COMPATIBLE_HOST:libc-musl:class-target = "null"
 COMPATIBLE_HOST:linux-gnux32 = "null"
 
-- 
2.34.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.