summaryrefslogtreecommitdiff
path: root/meta-openembedded/meta-oe/recipes-devtools/pahole/pahole_1.22.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openembedded/meta-oe/recipes-devtools/pahole/pahole_1.22.bb')
-rw-r--r--meta-openembedded/meta-oe/recipes-devtools/pahole/pahole_1.22.bb8
1 files changed, 6 insertions, 2 deletions
diff --git a/meta-openembedded/meta-oe/recipes-devtools/pahole/pahole_1.22.bb b/meta-openembedded/meta-oe/recipes-devtools/pahole/pahole_1.22.bb
index db7d88cdf..66f776135 100644
--- a/meta-openembedded/meta-oe/recipes-devtools/pahole/pahole_1.22.bb
+++ b/meta-openembedded/meta-oe/recipes-devtools/pahole/pahole_1.22.bb
@@ -5,15 +5,19 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
DEPENDS = "elfutils zlib libbpf"
+# Depends on MACHINE_ARCH libbpf
+PACKAGE_ARCH = "${MACHINE_ARCH}"
COMPATIBLE_HOST = "(x86_64|i.86|aarch64).*-linux"
SRCREV = "f02af2553ea58ae1186226af0d0ec835a248358f"
SRC_URI = "git://git.kernel.org/pub/scm/devel/pahole/pahole.git \
- file://0001-CMakeList.txt-make-python-optional.patch"
+ file://0001-CMakeList.txt-make-python-optional.patch \
+ file://0002-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch \
+ file://0003-CMakeList.txt-don-t-download-libbpf-source-when-syst.patch"
S = "${WORKDIR}/git"
-inherit cmake
+inherit cmake pkgconfig
PACKAGECONFIG[python3] = ",,python3-core,python3-core"