mirror of
https://git.yoctoproject.org/poky
synced 2026-02-07 17:26:36 +01:00
Due to packagegroup-core-tools-profile run time depend on package valgrind and recipe valgrind does not support loongarch64, then skip VALGRIND for loongarch64 $ echo "MACHINE = 'qemuloongarch64'" >> conf/local.conf $ bitbake world |ERROR: Nothing RPROVIDES 'valgrind' (but oe-core/meta/recipes-core/ packagegroups/packagegroup-core-tools-profile.bb RDEPENDS on or otherwise requires it) |valgrind was skipped: incompatible with host loongarch64-wrs-linux (not in COMPATIBLE_HOST) |NOTE: Runtime target 'valgrind' is unbuildable, removing... |Missing or unbuildable dependency chain was: ['valgrind'] |ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. |Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'packagegroup-core-tools-profile', 'valgrind'] (From OE-Core rev: 2ef616b4e43f5c4d3155201f743e48d6ff6bb400) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
68 lines
1.4 KiB
BlitzBasic
68 lines
1.4 KiB
BlitzBasic
#
|
|
# Copyright (C) 2008 OpenedHand Ltd.
|
|
#
|
|
|
|
SUMMARY = "Profiling tools"
|
|
|
|
|
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
|
|
|
inherit packagegroup
|
|
|
|
# sysprof doesn't support aarch64 and nios2
|
|
PROFILE_TOOLS_SYSTEMD = "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd-analyze', '', d)}"
|
|
|
|
RRECOMMENDS:${PN} = "\
|
|
${PERF} \
|
|
blktrace \
|
|
${PROFILE_TOOLS_SYSTEMD} \
|
|
"
|
|
|
|
PROFILETOOLS = "\
|
|
powertop \
|
|
"
|
|
PERF = "perf"
|
|
PERF:libc-musl = ""
|
|
PERF:libc-musl:arm = "perf"
|
|
PERF:riscv32 = ""
|
|
|
|
# systemtap needs elfutils which is not fully buildable on some arches/libcs
|
|
SYSTEMTAP = "systemtap"
|
|
SYSTEMTAP:libc-musl = ""
|
|
SYSTEMTAP:nios2 = ""
|
|
SYSTEMTAP:riscv32 = ""
|
|
|
|
LTTNGTOOLS = "lttng-tools"
|
|
LTTNGTOOLS:arc = ""
|
|
LTTNGTOOLS:riscv32 = ""
|
|
|
|
BABELTRACE = "babeltrace"
|
|
BABELTRACE2 = "babeltrace2"
|
|
|
|
# valgrind does not work on the following configurations/architectures
|
|
|
|
VALGRIND = "valgrind"
|
|
VALGRIND:libc-musl = ""
|
|
VALGRIND:mipsarch = ""
|
|
VALGRIND:nios2 = ""
|
|
VALGRIND:arc = ""
|
|
VALGRIND:armv4 = ""
|
|
VALGRIND:armv5 = ""
|
|
VALGRIND:armv6 = ""
|
|
VALGRIND:armeb = ""
|
|
VALGRIND:riscv64 = ""
|
|
VALGRIND:riscv32 = ""
|
|
VALGRIND:powerpc = "${@bb.utils.contains('TARGET_FPU', 'soft', '', 'valgrind', d)}"
|
|
VALGRIND:linux-gnux32 = ""
|
|
VALGRIND:linux-gnun32 = ""
|
|
VALGRIND:loongarch64 = ""
|
|
|
|
RDEPENDS:${PN} = "\
|
|
${PROFILETOOLS} \
|
|
${LTTNGTOOLS} \
|
|
${BABELTRACE} \
|
|
${BABELTRACE2} \
|
|
${SYSTEMTAP} \
|
|
${VALGRIND} \
|
|
"
|