summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnuj Mittal <anuj.mittal@oss.qualcomm.com>2026-04-23 13:47:29 +0800
committerAnuj Mittal <anuj.mittal@oss.qualcomm.com>2026-04-24 07:44:46 +0530
commitf218c80fbe99570e4c8109bede9f0c4de5f8481e (patch)
treee44533eb134a4809a24cd39e0dff5d8df1eb217a
parent1154a7e0da1af0245513a8faf6d8271b09c813cc (diff)
downloadmeta-dpdk-f218c80fbe99570e4c8109bede9f0c4de5f8481e.tar.gz
dpdk: add PACKAGECONFIG to build shared libraries
By default, DPDK performs static linking for applications and examples [1]. This behaviour can cause the build directory to exceed 100 GiB. Provide a PACKAGECONFIG to allow building with shared libraries only. [1] dpdk commit 93b1f90ae174 ("build: change default library type to static") Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
-rw-r--r--recipes-extended/dpdk/dpdk.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-extended/dpdk/dpdk.inc b/recipes-extended/dpdk/dpdk.inc
index 0a947fc..d59af8d 100644
--- a/recipes-extended/dpdk/dpdk.inc
+++ b/recipes-extended/dpdk/dpdk.inc
@@ -26,6 +26,7 @@ COMPATIBLE_HOST:linux-gnux32 = "null"
26PACKAGECONFIG ??= " " 26PACKAGECONFIG ??= " "
27PACKAGECONFIG[afxdp] = ",,libbpf xdp-tools" 27PACKAGECONFIG[afxdp] = ",,libbpf xdp-tools"
28PACKAGECONFIG[libvirt] = ",,libvirt" 28PACKAGECONFIG[libvirt] = ",,libvirt"
29PACKAGECONFIG[shared] = "--default-library=shared, --default-library=static,"
29 30
30RDEPENDS:${PN} += "pciutils python3-core" 31RDEPENDS:${PN} += "pciutils python3-core"
31RDEPENDS:${PN}-examples += "bash" 32RDEPENDS:${PN}-examples += "bash"