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, 3 insertions, 3 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-testsuite.inc b/meta/recipes-devtools/gcc/gcc-testsuite.inc
index f16d471478..3257f86907 100644
--- a/meta/recipes-devtools/gcc/gcc-testsuite.inc
+++ b/meta/recipes-devtools/gcc/gcc-testsuite.inc
@@ -53,8 +53,8 @@ python check_prepare() {
53 # - valid for x86*, powerpc, arm, arm64 53 # - valid for x86*, powerpc, arm, arm64
54 if qemu_binary.endswith(("x86_64", "i386", "arm", "aarch64")): 54 if qemu_binary.endswith(("x86_64", "i386", "arm", "aarch64")):
55 args += ["-cpu", "max"] 55 args += ["-cpu", "max"]
56 elif qemu_binary.endswith(("ppc", "mips", "mips64")): 56 else:
57 extra = d.getVar("QEMU_EXTRAOPTIONS_%s" % d.getVar('PACKAGE_ARCH')) 57 extra = d.getVar("QEMU_EXTRAOPTIONS:tune-%s" % d.getVar('TUNE_PKGARCH'))
58 if extra: 58 if extra:
59 args += extra.split() 59 args += extra.split()
60 # For mips64 we could set a maximal CPU (e.g. Loongson-3A4000) however they either have MSA 60 # For mips64 we could set a maximal CPU (e.g. Loongson-3A4000) however they either have MSA
@@ -101,7 +101,7 @@ python check_prepare() {
101 f.write(generate_qemu_linux_user_config(d)) 101 f.write(generate_qemu_linux_user_config(d))
102 102
103 # write out target ssh board config 103 # write out target ssh board config
104 with open(os.path.join(dejagnudir, "ssh.exp"), "w") as f: 104 with open(os.path.join(dejagnudir, "linux-ssh.exp"), "w") as f:
105 f.write(generate_remote_ssh_linux_config(d)) 105 f.write(generate_remote_ssh_linux_config(d))
106 106
107 # generate site.exp to provide boards 107 # generate site.exp to provide boards