summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/valgrind
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/valgrind')
-rw-r--r--meta/recipes-devtools/valgrind/valgrind_3.14.0.bb11
1 files changed, 0 insertions, 11 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind_3.14.0.bb b/meta/recipes-devtools/valgrind/valgrind_3.14.0.bb
index 4d15a50411..54d09f071f 100644
--- a/meta/recipes-devtools/valgrind/valgrind_3.14.0.bb
+++ b/meta/recipes-devtools/valgrind/valgrind_3.14.0.bb
@@ -65,7 +65,6 @@ EXTRA_OECONF += "${@['--enable-only32bit','--enable-only64bit'][d.getVar('SITEIN
65 65
66# valgrind checks host_cpu "armv7*)", so we need to over-ride the autotools.bbclass default --host option 66# valgrind checks host_cpu "armv7*)", so we need to over-ride the autotools.bbclass default --host option
67EXTRA_OECONF_append_arm = " --host=armv7${HOST_VENDOR}-${HOST_OS}" 67EXTRA_OECONF_append_arm = " --host=armv7${HOST_VENDOR}-${HOST_OS}"
68TARGET_CC_ARCH_remove_arm = "${@get_mcpu(d)}"
69 68
70EXTRA_OEMAKE = "-w" 69EXTRA_OEMAKE = "-w"
71 70
@@ -77,14 +76,6 @@ CACHED_CONFIGUREVARS += "ac_cv_path_PERL='/usr/bin/env perl'"
77# which fixes build path issue in DWARF. 76# which fixes build path issue in DWARF.
78SELECTED_OPTIMIZATION = "${DEBUG_FLAGS}" 77SELECTED_OPTIMIZATION = "${DEBUG_FLAGS}"
79 78
80def get_mcpu(d):
81 for arg in (d.getVar('TUNE_CCARGS') or '').split():
82 if arg.startswith('-mcpu='):
83 return arg
84 else:
85 continue
86 return ""
87
88do_configure_prepend () { 79do_configure_prepend () {
89 rm -rf ${S}/config.h 80 rm -rf ${S}/config.h
90 sed -i -e 's:$(abs_top_builddir):$(pkglibdir)/ptest:g' ${S}/none/tests/Makefile.am 81 sed -i -e 's:$(abs_top_builddir):$(pkglibdir)/ptest:g' ${S}/none/tests/Makefile.am
@@ -96,8 +87,6 @@ do_install_append () {
96 oe_multilib_header valgrind/config.h 87 oe_multilib_header valgrind/config.h
97} 88}
98 89
99TUNE = "${@strip_mcpu(d)}"
100
101VALGRINDARCH ?= "${TARGET_ARCH}" 90VALGRINDARCH ?= "${TARGET_ARCH}"
102VALGRINDARCH_aarch64 = "arm64" 91VALGRINDARCH_aarch64 = "arm64"
103VALGRINDARCH_x86-64 = "amd64" 92VALGRINDARCH_x86-64 = "amd64"