diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/valgrind/valgrind_3.14.0.bb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind_3.14.0.bb b/meta/recipes-devtools/valgrind/valgrind_3.14.0.bb index 97e58a446a..50f8221ebb 100644 --- a/meta/recipes-devtools/valgrind/valgrind_3.14.0.bb +++ b/meta/recipes-devtools/valgrind/valgrind_3.14.0.bb | |||
@@ -96,6 +96,19 @@ do_install_append () { | |||
96 | 96 | ||
97 | TUNE = "${@strip_mcpu(d)}" | 97 | TUNE = "${@strip_mcpu(d)}" |
98 | 98 | ||
99 | VALGRINDARCH ?= "${TARGET_ARCH}" | ||
100 | VALGRINDARCH_aarch64 = "arm64" | ||
101 | VALGRINDARCH_x86-64 = "amd64" | ||
102 | VALGRINDARCH_x86 = "x86" | ||
103 | VALGRINDARCH_mips = "mips32" | ||
104 | VALGRINDARCH_mipsel = "mips32" | ||
105 | VALGRINDARCH_mips64el = "mips64" | ||
106 | VALGRINDARCH_powerpc = "ppc" | ||
107 | VALGRINDARCH_powerpc64 = "ppc64" | ||
108 | VALGRINDARCH_powerpc64el = "ppc64le" | ||
109 | |||
110 | INHIBIT_PACKAGE_STRIP_FILES = "${PKGD}${libdir}/valgrind/vgpreload_memcheck-${VALGRINDARCH}-linux.so" | ||
111 | |||
99 | RDEPENDS_${PN} += "perl" | 112 | RDEPENDS_${PN} += "perl" |
100 | 113 | ||
101 | # valgrind needs debug information for ld.so at runtime in order to | 114 | # valgrind needs debug information for ld.so at runtime in order to |