mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-21 05:57:05 +00:00
libbpf: installing uapi headers for native package
using libbpf-native provided headers for pahole-native or other application. Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
committed by
Armin Kuster
parent
147b663d83
commit
8b8e344c29
@@ -17,6 +17,7 @@ COMPATIBLE_HOST = "(x86_64|i.86|aarch64|riscv64|powerpc64).*-linux"
|
|||||||
S = "${WORKDIR}/git/src"
|
S = "${WORKDIR}/git/src"
|
||||||
|
|
||||||
EXTRA_OEMAKE += "DESTDIR=${D} LIBDIR=${libdir} INCLUDEDIR=${includedir}"
|
EXTRA_OEMAKE += "DESTDIR=${D} LIBDIR=${libdir} INCLUDEDIR=${includedir}"
|
||||||
|
EXTRA_OEMAKE:append:class-native = " UAPIDIR=${includedir}"
|
||||||
|
|
||||||
inherit pkgconfig
|
inherit pkgconfig
|
||||||
|
|
||||||
@@ -28,4 +29,8 @@ do_install() {
|
|||||||
oe_runmake install
|
oe_runmake install
|
||||||
}
|
}
|
||||||
|
|
||||||
|
do_install:append:class-native() {
|
||||||
|
oe_runmake install_uapi_headers
|
||||||
|
}
|
||||||
|
|
||||||
BBCLASSEXTEND = "native nativesdk"
|
BBCLASSEXTEND = "native nativesdk"
|
||||||
|
|||||||
Reference in New Issue
Block a user