summaryrefslogtreecommitdiffstats
path: root/tests/tcg/configure.sh
diff options
context:
space:
mode:
authorTaylor Simpson2021-02-08 06:46:21 +0100
committerRichard Henderson2021-02-18 16:48:22 +0100
commitdff2441c21f76a5eebd37367f9c3b33bbac64d2e (patch)
treeb5d92f2b3fa69f84ec1d9e86935667dc26f03901 /tests/tcg/configure.sh
parentHexagon (linux-user/hexagon) Linux user emulation (diff)
downloadqemu-dff2441c21f76a5eebd37367f9c3b33bbac64d2e.tar.gz
qemu-dff2441c21f76a5eebd37367f9c3b33bbac64d2e.tar.xz
qemu-dff2441c21f76a5eebd37367f9c3b33bbac64d2e.zip
Hexagon (tests/tcg/hexagon) TCG tests - multiarch
Enable multiarch tests for Hexagon Modify tests/tcg/configure.sh Add reference files to tests/tcg/hexagon Signed-off-by: Taylor Simpson <tsimpson@quicinc.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <1612763186-18161-32-git-send-email-tsimpson@quicinc.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tests/tcg/configure.sh')
-rwxr-xr-xtests/tcg/configure.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/tcg/configure.sh b/tests/tcg/configure.sh
index ba8ac9a93e..551c02f469 100755
--- a/tests/tcg/configure.sh
+++ b/tests/tcg/configure.sh
@@ -49,6 +49,8 @@ fi
: $(cross_cc_alpha="alpha-linux-gnu-gcc")
: ${cross_cc_arm="arm-linux-gnueabihf-gcc"}
: ${cross_cc_cflags_armeb="-mbig-endian"}
+: ${cross_cc_hexagon="hexagon-unknown-linux-musl-clang"}
+: ${cross_cc_cflags_hexagon="-mv67 -O2 -static"}
: ${cross_cc_hppa="hppa-linux-gnu-gcc"}
: ${cross_cc_i386="i386-pc-linux-gnu-gcc"}
: ${cross_cc_cflags_i386="-m32"}
@@ -94,7 +96,7 @@ for target in $target_list; do
xtensa|xtensaeb)
arches=xtensa
;;
- alpha|cris|hppa|i386|lm32|microblaze|microblazeel|m68k|openrisc|riscv64|s390x|sh4|sparc64)
+ alpha|cris|hexagon|hppa|i386|lm32|microblaze|microblazeel|m68k|openrisc|riscv64|s390x|sh4|sparc64)
arches=$target
;;
*)