diff options
author | Xiangyu Chen <xiangyu.chen@windriver.com> | 2023-05-06 14:39:26 +0800 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2023-05-06 07:42:05 -0400 |
commit | 0cc8e22c463324ddd833239116b1ff82ef82f42c (patch) | |
tree | 6f3a1654077a6bfb1b2fc681a1c9a811d361c041 | |
parent | 6fe731c0549c3aa9bf43d7e4e711bed390477408 (diff) | |
download | meta-openembedded-contrib-0cc8e22c463324ddd833239116b1ff82ef82f42c.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: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | meta-oe/recipes-devtools/pahole/pahole_1.22.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/pahole/pahole_1.22.bb b/meta-oe/recipes-devtools/pahole/pahole_1.22.bb index ec642ec3b2..b790f52378 100644 --- a/meta-oe/recipes-devtools/pahole/pahole_1.22.bb +++ b/meta-oe/recipes-devtools/pahole/pahole_1.22.bb @@ -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}" |