mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-14 14:25:53 +01:00
Dropped patches which are now merged in the upstream Changelog: https://github.com/libbpf/libbpf/releases/tag/v1.5.1 https://github.com/libbpf/libbpf/releases/tag/v1.6.0 https://github.com/libbpf/libbpf/releases/tag/v1.6.1 https://github.com/libbpf/libbpf/releases/tag/v1.6.2 Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
37 lines
898 B
Clojure
37 lines
898 B
Clojure
SUMMARY = "Library for BPF handling"
|
|
DESCRIPTION = "Library for BPF handling"
|
|
HOMEPAGE = "https://github.com/libbpf/libbpf"
|
|
SECTION = "libs"
|
|
LICENSE = "LGPL-2.1-or-later"
|
|
|
|
LIC_FILES_CHKSUM = "file://../LICENSE.LGPL-2.1;md5=b370887980db5dd40659b50909238dbd"
|
|
|
|
DEPENDS = "zlib elfutils"
|
|
|
|
SRC_URI = "git://github.com/libbpf/libbpf.git;protocol=https;branch=${BPN}-${PV}"
|
|
SRCREV = "45e89348ec74617c11cd5241ccd0ffc91dfd03c4"
|
|
|
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
|
COMPATIBLE_HOST = "(x86_64|i.86|arm|aarch64|riscv64|powerpc|powerpc64|mips64).*-linux"
|
|
|
|
S = "${UNPACKDIR}/${BP}/src"
|
|
|
|
EXTRA_OEMAKE += "DESTDIR=${D} LIBDIR=${libdir} INCLUDEDIR=${includedir}"
|
|
EXTRA_OEMAKE:append:class-native = " UAPIDIR=${includedir}"
|
|
|
|
inherit pkgconfig
|
|
|
|
do_compile() {
|
|
oe_runmake
|
|
}
|
|
|
|
do_install() {
|
|
oe_runmake install
|
|
}
|
|
|
|
do_install:append:class-native() {
|
|
oe_runmake install_uapi_headers
|
|
}
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|