diff options
| author | Anuj Mittal <anuj.mittal@oss.qualcomm.com> | 2026-04-23 13:47:29 +0800 |
|---|---|---|
| committer | Anuj Mittal <anuj.mittal@oss.qualcomm.com> | 2026-04-24 07:44:46 +0530 |
| commit | f218c80fbe99570e4c8109bede9f0c4de5f8481e (patch) | |
| tree | e44533eb134a4809a24cd39e0dff5d8df1eb217a | |
| parent | 1154a7e0da1af0245513a8faf6d8271b09c813cc (diff) | |
| download | meta-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.inc | 1 |
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" | |||
| 26 | PACKAGECONFIG ??= " " | 26 | PACKAGECONFIG ??= " " |
| 27 | PACKAGECONFIG[afxdp] = ",,libbpf xdp-tools" | 27 | PACKAGECONFIG[afxdp] = ",,libbpf xdp-tools" |
| 28 | PACKAGECONFIG[libvirt] = ",,libvirt" | 28 | PACKAGECONFIG[libvirt] = ",,libvirt" |
| 29 | PACKAGECONFIG[shared] = "--default-library=shared, --default-library=static," | ||
| 29 | 30 | ||
| 30 | RDEPENDS:${PN} += "pciutils python3-core" | 31 | RDEPENDS:${PN} += "pciutils python3-core" |
| 31 | RDEPENDS:${PN}-examples += "bash" | 32 | RDEPENDS:${PN}-examples += "bash" |
