pahole: update COMPATIBLE_HOST setting

Due to pahole build depend on pahole, and libbpf added more architectures
to COMPATIBLE_HOST [1], add the same COMPATIBLE_HOST setting to pahole

$ echo "MACHINE = 'qemuloongarch64'" >> conf/local.conf
$ bitbake world
ERROR: Nothing PROVIDES 'libbpf' (but meta-openembedded/meta-oe/recipes-devtools/pahole/pahole_1.27.bb DEPENDS on or otherwise requires it)
libbpf was skipped: incompatible with host loongarch64-wrs-linux (not in COMPATIBLE_HOST)
ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'pahole', 'libbpf']

[1] https://git.openembedded.org/meta-openembedded/commit/?id=bb8049afe96db57707afc259743e288bec456117

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Hongxu Jia 2024-12-28 17:08:52 +08:00 committed by Khem Raj
parent 5bb3125e1c
commit 79fbbad63c
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -7,8 +7,7 @@ DEPENDS = "elfutils zlib libbpf"
# Depends on MACHINE_ARCH libbpf
PACKAGE_ARCH = "${MACHINE_ARCH}"
COMPATIBLE_HOST:mips = "null"
COMPATIBLE_HOST:riscv32 = "null"
COMPATIBLE_HOST = "(x86_64|i.86|arm|aarch64|riscv64|powerpc|powerpc64|mips64).*-linux"
SRCREV = "3e265dac5ec85b956c664464072196c37d2af4f3"
SRC_URI = "git://git.kernel.org/pub/scm/devel/pahole/pahole.git;branch=master \