summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-testsuite.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-testsuite.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-testsuite.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-testsuite.inc b/meta/recipes-devtools/gcc/gcc-testsuite.inc
index 64f60c730f..eaac98f9ba 100644
--- a/meta/recipes-devtools/gcc/gcc-testsuite.inc
+++ b/meta/recipes-devtools/gcc/gcc-testsuite.inc
@@ -53,8 +53,10 @@ python check_prepare() {
53 # - valid for x86*, powerpc, arm, arm64 53 # - valid for x86*, powerpc, arm, arm64
54 if qemu_binary.lstrip("qemu-") in ["x86_64", "i386", "arm", "aarch64"]: 54 if qemu_binary.lstrip("qemu-") in ["x86_64", "i386", "arm", "aarch64"]:
55 args += ["-cpu", "max"] 55 args += ["-cpu", "max"]
56 elif qemu_binary.lstrip("qemu-") in ["ppc"]: 56 else:
57 args += d.getVar("QEMU_EXTRAOPTIONS_%s" % d.getVar('PACKAGE_ARCH')).split() 57 extra = d.getVar("QEMU_EXTRAOPTIONS_%s" % d.getVar('TUNE_PKGARCH'))
58 if extra:
59 args += extra.split()
58 sysroot = d.getVar("RECIPE_SYSROOT") 60 sysroot = d.getVar("RECIPE_SYSROOT")
59 args += ["-L", sysroot] 61 args += ["-L", sysroot]
60 # lib paths are static here instead of using $libdir since this is used by a -cross recipe 62 # lib paths are static here instead of using $libdir since this is used by a -cross recipe