Skip to content

Commit

Permalink
pahole: fix native package build error
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Armin Kuster <[email protected]>
  • Loading branch information
chenxy1988 authored and akuster committed May 6, 2023
1 parent 6fe731c commit 0cc8e22
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions meta-oe/recipes-devtools/pahole/pahole_1.22.bb
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 0cc8e22

Please sign in to comment.