diff options
-rw-r--r-- | meta-oe/recipes-support/pv/pv_1.9.31.bb | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/pv/pv_1.9.31.bb b/meta-oe/recipes-support/pv/pv_1.9.31.bb index 2f1d38337f..578012fcfd 100644 --- a/meta-oe/recipes-support/pv/pv_1.9.31.bb +++ b/meta-oe/recipes-support/pv/pv_1.9.31.bb | |||
@@ -18,7 +18,31 @@ inherit autotools gettext ptest | |||
18 | LDEMULATION:mipsarchn32 = "${@bb.utils.contains('TUNE_FEATURES', 'bigendian', 'elf32btsmipn32', 'elf32ltsmipn32', d)}" | 18 | LDEMULATION:mipsarchn32 = "${@bb.utils.contains('TUNE_FEATURES', 'bigendian', 'elf32btsmipn32', 'elf32ltsmipn32', d)}" |
19 | export LDEMULATION | 19 | export LDEMULATION |
20 | 20 | ||
21 | RDEPENDS:${PN}-ptest += "bash coreutils tmux valgrind" | 21 | # for ptests |
22 | VALGRIND = "valgrind" | ||
23 | |||
24 | # valgrind supports armv7 and above | ||
25 | VALGRIND:armv4 = '' | ||
26 | VALGRIND:armv5 = '' | ||
27 | VALGRIND:armv6 = '' | ||
28 | |||
29 | # X32 isn't supported by valgrind at this time | ||
30 | VALGRIND:linux-gnux32 = '' | ||
31 | VALGRIND:linux-muslx32 = '' | ||
32 | |||
33 | # Disable for some MIPS variants | ||
34 | VALGRIND:mipsarchr6 = '' | ||
35 | VALGRIND:linux-gnun32 = '' | ||
36 | |||
37 | # Disable for powerpc64 with musl | ||
38 | VALGRIND:libc-musl:powerpc64 = '' | ||
39 | VALGRIND:libc-musl:powerpc64le = '' | ||
40 | |||
41 | # RISC-V support for valgrind is not there yet | ||
42 | VALGRIND:riscv64 = "" | ||
43 | VALGRIND:riscv32 = "" | ||
44 | |||
45 | RDEPENDS:${PN}-ptest += "bash coreutils tmux ${VALGRIND}" | ||
22 | RDEPENDS:${PN}-ptest:append:libc-musl = " musl-locales" | 46 | RDEPENDS:${PN}-ptest:append:libc-musl = " musl-locales" |
23 | RDEPENDS:${PN}-ptest:append:libc-glibc = " glibc-binary-localedata-c" | 47 | RDEPENDS:${PN}-ptest:append:libc-glibc = " glibc-binary-localedata-c" |
24 | 48 | ||