Skip to contentSkip to conversation

dpdk: Remove support for arm 32bit build

PATCH New Li Zhou 1 participant 1 message Jun 2

lore
Share & tools
lore

Li Zhou

author
#0 lore raw

PATCH 1/1 dpdk: Remove support for arm 32bit build

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.

---
 recipes-extended/dpdk/dpdk.inc | 1 +
 1 file changed, 1 insertion(+)
recipes-extended/dpdk/dpdk.inc +1 -0
index 6c76a1d..4abd110 100644
@@ -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"
 
Signature · 1 line
2.34.1