mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-10 06:09:36 +00:00
pahole: fix native package build error
pahole-native package needs some uapi headers such like linux/btf.h, otherwise it would report error as below: btf_loader.c:342:54: error: invalid use of undefined type ‘struct btf_enum64’ Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -4,6 +4,7 @@ LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
|
||||
|
||||
DEPENDS = "elfutils zlib libbpf"
|
||||
DEPENDS:append:class-native = " linux-libc-headers"
|
||||
|
||||
# Depends on MACHINE_ARCH libbpf
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
Reference in New Issue
Block a user