From: Mohamad Noor Alim Hussin <[email protected]>

AF_XDP driver depend of libbpf. Enable it so that AF_XDP
driver can be compiled.

Signed-off-by: Mohamad Noor Alim Hussin <[email protected]>
---
 recipes-extended/dpdk/dpdk_20.11.1.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/recipes-extended/dpdk/dpdk_20.11.1.bb 
b/recipes-extended/dpdk/dpdk_20.11.1.bb
index 7e1c4aa..9dbb8d6 100644
--- a/recipes-extended/dpdk/dpdk_20.11.1.bb
+++ b/recipes-extended/dpdk/dpdk_20.11.1.bb
@@ -18,7 +18,9 @@ COMPATIBLE_MACHINE = "null"
 COMPATIBLE_HOST_libc-musl_class-target = "null"
 COMPATIBLE_HOST_linux-gnux32 = "null"
 
+PACKAGECONFIG ??= " afxdp"
 PACKAGECONFIG[libvirt] = ",,libvirt"
+PACKAGECONFIG[afxdp] = ",,libbpf"
 
 RDEPENDS_${PN} += "pciutils python3-core"
 RDEPENDS_${PN}-examples += "bash"
-- 
2.29.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7024): 
https://lists.yoctoproject.org/g/meta-intel/message/7024
Mute This Topic: https://lists.yoctoproject.org/mt/82625317/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to