summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnuj Mittal <anuj.mittal@oss.qualcomm.com>2026-04-27 21:06:03 +0800
committerAnuj Mittal <anuj.mittal@oss.qualcomm.com>2026-04-28 06:37:14 +0530
commitc4e58978ce61c47c2f54206e07f9ad46be2ed257 (patch)
tree5f75bf660a9722b5699649ecef6802cd11e81a99
parent653b386d1f1f7282d901afdf4436883d8eda7384 (diff)
downloadmeta-dpdk-master.tar.gz
dpdk: fix builds for ARM machinesHEADmaster
cpu_instruction_set variable is neither recommended nor effective for ARM builds. DPDK recommends setting the platform to SoC to properly tailor the build instead. Ensure that we set the platform value for aarch64 and cpu_instruction_set for all others. Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
-rw-r--r--recipes-extended/dpdk/dpdk.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-extended/dpdk/dpdk.inc b/recipes-extended/dpdk/dpdk.inc
index 63f8191..6c76a1d 100644
--- a/recipes-extended/dpdk/dpdk.inc
+++ b/recipes-extended/dpdk/dpdk.inc
@@ -18,7 +18,7 @@ def get_cpu_instruction_set(bb, d):
18 return "core2" 18 return "core2"
19 19
20EXTRA_OEMESON = " -Dcpu_instruction_set=${@get_cpu_instruction_set(bb, d)}" 20EXTRA_OEMESON = " -Dcpu_instruction_set=${@get_cpu_instruction_set(bb, d)}"
21EXTRA_OEMESON:append:class-target = " --cross-file ${WORKDIR}/dpdk.cross" 21EXTRA_OEMESON:aarch64 = " --cross-file ${WORKDIR}/dpdk.cross"
22 22
23COMPATIBLE_HOST:libc-musl:class-target = "null" 23COMPATIBLE_HOST:libc-musl:class-target = "null"
24COMPATIBLE_HOST:linux-gnux32 = "null" 24COMPATIBLE_HOST:linux-gnux32 = "null"