blob: 3aea7c07960f218a6383e8f9d72c3baa9eed408d [file] [log] [blame]
William A. Kennington III49e95662021-09-15 16:19:36 -07001SUMMARY = "Library for BPF handling"
2DESCRIPTION = "Library for BPF handling"
3HOMEPAGE = "https://github.com/libbpf/libbpf"
4SECTION = "libs"
Andrew Geissler9aee5002022-03-30 16:27:02 +00005LICENSE = "LGPL-2.1-or-later"
William A. Kennington III49e95662021-09-15 16:19:36 -07006
7LIC_FILES_CHKSUM = "file://../LICENSE.LGPL-2.1;md5=b370887980db5dd40659b50909238dbd"
8
9DEPENDS = "zlib elfutils"
10
Andrew Geissler595f6302022-01-24 19:11:47 +000011SRC_URI = "git://github.com/libbpf/libbpf.git;protocol=https;branch=master"
Andrew Geissler78b72792022-06-14 06:47:25 -050012SRCREV = "86eb09863c1c0177e99c2c703092042d3cdba910"
William A. Kennington III49e95662021-09-15 16:19:36 -070013
14PACKAGE_ARCH = "${MACHINE_ARCH}"
Andrew Geissler9aee5002022-03-30 16:27:02 +000015COMPATIBLE_HOST = "(x86_64|i.86|aarch64|riscv64|powerpc64).*-linux"
William A. Kennington III49e95662021-09-15 16:19:36 -070016
17S = "${WORKDIR}/git/src"
18
19EXTRA_OEMAKE += "DESTDIR=${D} LIBDIR=${libdir} INCLUDEDIR=${includedir}"
20
21inherit pkgconfig
22
23do_compile() {
24 oe_runmake
25}
26
27do_install() {
28 oe_runmake install
29}
Andrew Geissler517393d2023-01-13 08:55:19 -060030
31BBCLASSEXTEND = "native nativesdk"