diff options
author | Xiangyu Chen <xiangyu.chen@windriver.com> | 2023-05-05 17:26:43 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-05-05 07:12:13 -0700 |
commit | b9df3387002195ad365735bd15a3b70b1355d70f (patch) | |
tree | 408e3c2c8c215d2e7318582e7d1c8f4fddd4909e /meta-oe/recipes-devtools | |
parent | e4fd963741d666b2f710a99bf8f78a9675abb97b (diff) | |
download | meta-openembedded-b9df3387002195ad365735bd15a3b70b1355d70f.tar.gz |
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>
Diffstat (limited to 'meta-oe/recipes-devtools')
-rw-r--r-- | meta-oe/recipes-devtools/pahole/pahole_1.24.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/pahole/pahole_1.24.bb b/meta-oe/recipes-devtools/pahole/pahole_1.24.bb index 2bb73c3eb..f44b0cef0 100644 --- a/meta-oe/recipes-devtools/pahole/pahole_1.24.bb +++ b/meta-oe/recipes-devtools/pahole/pahole_1.24.bb | |||
@@ -4,6 +4,7 @@ LICENSE = "GPL-2.0-only" | |||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" |
5 | 5 | ||
6 | DEPENDS = "elfutils zlib libbpf" | 6 | DEPENDS = "elfutils zlib libbpf" |
7 | DEPENDS:append:class-native = " linux-libc-headers" | ||
7 | 8 | ||
8 | # Depends on MACHINE_ARCH libbpf | 9 | # Depends on MACHINE_ARCH libbpf |
9 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 10 | PACKAGE_ARCH = "${MACHINE_ARCH}" |