William A. Kennington III | 49e9566 | 2021-09-15 16:19:36 -0700 | [diff] [blame] | 1 | SUMMARY = "Library for BPF handling" |
| 2 | DESCRIPTION = "Library for BPF handling" |
| 3 | HOMEPAGE = "https://github.com/libbpf/libbpf" |
| 4 | SECTION = "libs" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 5 | LICENSE = "LGPL-2.1-or-later" |
William A. Kennington III | 49e9566 | 2021-09-15 16:19:36 -0700 | [diff] [blame] | 6 | |
| 7 | LIC_FILES_CHKSUM = "file://../LICENSE.LGPL-2.1;md5=b370887980db5dd40659b50909238dbd" |
| 8 | |
| 9 | DEPENDS = "zlib elfutils" |
| 10 | |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 11 | SRC_URI = "git://github.com/libbpf/libbpf.git;protocol=https;branch=master" |
Andrew Geissler | 78b7279 | 2022-06-14 06:47:25 -0500 | [diff] [blame] | 12 | SRCREV = "86eb09863c1c0177e99c2c703092042d3cdba910" |
William A. Kennington III | 49e9566 | 2021-09-15 16:19:36 -0700 | [diff] [blame] | 13 | |
| 14 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 15 | COMPATIBLE_HOST = "(x86_64|i.86|aarch64|riscv64|powerpc64).*-linux" |
William A. Kennington III | 49e9566 | 2021-09-15 16:19:36 -0700 | [diff] [blame] | 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 | } |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame^] | 30 | |
| 31 | BBCLASSEXTEND = "native nativesdk" |