summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-kernel/libbpf/libbpf_1.4.7.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-kernel/libbpf/libbpf_1.4.7.bb')
-rw-r--r--meta-oe/recipes-kernel/libbpf/libbpf_1.4.7.bb36
1 files changed, 36 insertions, 0 deletions
diff --git a/meta-oe/recipes-kernel/libbpf/libbpf_1.4.7.bb b/meta-oe/recipes-kernel/libbpf/libbpf_1.4.7.bb
new file mode 100644
index 0000000000..8df1c639ed
--- /dev/null
+++ b/meta-oe/recipes-kernel/libbpf/libbpf_1.4.7.bb
@@ -0,0 +1,36 @@
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=libbpf-1.4.7"
12SRCREV = "ca72d0731f8c693bd98caba70d951fc0bfe20788"
13
14PACKAGE_ARCH = "${MACHINE_ARCH}"
15COMPATIBLE_HOST = "(x86_64|i.86|arm|aarch64|riscv64|powerpc|powerpc64|mips64).*-linux"
16
17S = "${WORKDIR}/git/src"
18
19EXTRA_OEMAKE += "DESTDIR=${D} LIBDIR=${libdir} INCLUDEDIR=${includedir}"
20EXTRA_OEMAKE:append:class-native = " UAPIDIR=${includedir}"
21
22inherit pkgconfig
23
24do_compile() {
25 oe_runmake
26}
27
28do_install() {
29 oe_runmake install
30}
31
32do_install:append:class-native() {
33 oe_runmake install_uapi_headers
34}
35
36BBCLASSEXTEND = "native nativesdk"