From be3a67a7f5079f30b0ccc696d549fd03a2dbbad1 Mon Sep 17 00:00:00 2001 From: Reini Urban Date: Wed, 2 Dec 2020 12:17:42 +0100 Subject: arm64: try qemu-system-aarch64 --- tools/test.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/test.sh b/tools/test.sh index c2c25c5..4e7076f 100755 --- a/tools/test.sh +++ b/tools/test.sh @@ -20,10 +20,15 @@ testcc() { init() { case "$TARGET" in arm64) + qemucmd=qemu-system-aarch64 + if ! $qemucmd -version >/dev/null 2>&1 + then + qemucmd=qemu-aarch64 + fi for p in aarch64-linux-musl aarch64-linux-gnu do cc=$p-gcc - qemu="qemu-aarch64 -L /usr/$p" + qemu="$qemucmd -L /usr/$p" if $cc -v >/dev/null 2>&1 && $qemu -version >/dev/null 2>&1 && -- cgit 1.4.1