diff options
Diffstat (limited to 'meta-oe/recipes-kernel/libbpf/libbpf_1.2.0.bb')
-rw-r--r-- | meta-oe/recipes-kernel/libbpf/libbpf_1.2.0.bb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-oe/recipes-kernel/libbpf/libbpf_1.2.0.bb b/meta-oe/recipes-kernel/libbpf/libbpf_1.2.0.bb new file mode 100644 index 000000000..7c3df5f8a --- /dev/null +++ b/meta-oe/recipes-kernel/libbpf/libbpf_1.2.0.bb | |||
@@ -0,0 +1,31 @@ | |||
1 | SUMMARY = "Library for BPF handling" | ||
2 | DESCRIPTION = "Library for BPF handling" | ||
3 | HOMEPAGE = "https://github.com/libbpf/libbpf" | ||
4 | SECTION = "libs" | ||
5 | LICENSE = "LGPL-2.1-or-later" | ||
6 | |||
7 | LIC_FILES_CHKSUM = "file://../LICENSE.LGPL-2.1;md5=b370887980db5dd40659b50909238dbd" | ||
8 | |||
9 | DEPENDS = "zlib elfutils" | ||
10 | |||
11 | SRC_URI = "git://github.com/libbpf/libbpf.git;protocol=https;branch=master" | ||
12 | SRCREV = "fbd60dbff51c870f5e80a17c4f2fd639eb80af90" | ||
13 | |||
14 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
15 | COMPATIBLE_HOST = "(x86_64|i.86|aarch64|riscv64|powerpc64).*-linux" | ||
16 | |||
17 | S = "${WORKDIR}/git/src" | ||
18 | |||
19 | EXTRA_OEMAKE += "DESTDIR=${D} LIBDIR=${libdir} INCLUDEDIR=${includedir}" | ||
20 | |||
21 | inherit pkgconfig | ||
22 | |||
23 | do_compile() { | ||
24 | oe_runmake | ||
25 | } | ||
26 | |||
27 | do_install() { | ||
28 | oe_runmake install | ||
29 | } | ||
30 | |||
31 | BBCLASSEXTEND = "native nativesdk" | ||