summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-kernel/libbpf/libbpf_1.5.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-kernel/libbpf/libbpf_1.5.0.bb')
-rw-r--r--meta-oe/recipes-kernel/libbpf/libbpf_1.5.0.bb39
1 files changed, 39 insertions, 0 deletions
diff --git a/meta-oe/recipes-kernel/libbpf/libbpf_1.5.0.bb b/meta-oe/recipes-kernel/libbpf/libbpf_1.5.0.bb
new file mode 100644
index 0000000000..36312c386b
--- /dev/null
+++ b/meta-oe/recipes-kernel/libbpf/libbpf_1.5.0.bb
@@ -0,0 +1,39 @@
1SUMMARY = "Library for BPF handling"
2DESCRIPTION = "Library for BPF handling"
3HOMEPAGE = "https://github.com/libbpf/libbpf"
4SECTION = "libs"
5LICENSE = "LGPL-2.1-or-later"
6
7LIC_FILES_CHKSUM = "file://../LICENSE.LGPL-2.1;md5=b370887980db5dd40659b50909238dbd"
8
9DEPENDS = "zlib elfutils"
10
11SRC_URI = "git://github.com/libbpf/libbpf.git;protocol=https;branch=master \
12 file://0001-libbpf-check-for-empty-BTF-data-section-in-btf_parse.patch \
13 file://CVE-2025-29481.patch;striplevel=2 \
14"
15SRCREV = "09b9e83102eb8ab9e540d36b4559c55f3bcdb95d"
16
17PACKAGE_ARCH = "${MACHINE_ARCH}"
18COMPATIBLE_HOST = "(x86_64|i.86|arm|aarch64|riscv64|powerpc|powerpc64|mips64).*-linux"
19
20S = "${UNPACKDIR}/${BP}/src"
21
22EXTRA_OEMAKE += "DESTDIR=${D} LIBDIR=${libdir} INCLUDEDIR=${includedir}"
23EXTRA_OEMAKE:append:class-native = " UAPIDIR=${includedir}"
24
25inherit pkgconfig
26
27do_compile() {
28 oe_runmake
29}
30
31do_install() {
32 oe_runmake install
33}
34
35do_install:append:class-native() {
36 oe_runmake install_uapi_headers
37}
38
39BBCLASSEXTEND = "native nativesdk"