summaryrefslogtreecommitdiff
path: root/Meta
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2021-08-28 13:08:20 -0400
committerLinus Groh <mail@linusgroh.de>2021-08-28 21:51:30 +0100
commit230ea3754d0eb929f0ab5f79439b004fa08e0d6c (patch)
treec71eba55b261bb361ecd3ad30a5a0358723d0104 /Meta
parent00c5e68b11df5c9af63ccdec697dc06f2ce20194 (diff)
downloadserenity-230ea3754d0eb929f0ab5f79439b004fa08e0d6c.zip
Meta: Run qemu-system-aarch64 in aarch64 builds in run.sh
Diffstat (limited to 'Meta')
-rwxr-xr-xMeta/run.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/Meta/run.sh b/Meta/run.sh
index 984b0cc3df..217c668916 100755
--- a/Meta/run.sh
+++ b/Meta/run.sh
@@ -58,7 +58,9 @@ if [ -z "$SERENITY_QEMU_BIN" ]; then
QEMU_BINARY_SUFFIX=".exe"
fi
fi
- if [ "$SERENITY_ARCH" = "x86_64" ]; then
+ if [ "$SERENITY_ARCH" = "aarch64" ]; then
+ SERENITY_QEMU_BIN="${QEMU_BINARY_PREFIX}qemu-system-aarch64${QEMU_BINARY_SUFFIX}"
+ elif [ "$SERENITY_ARCH" = "x86_64" ]; then
SERENITY_QEMU_BIN="${QEMU_BINARY_PREFIX}qemu-system-x86_64${QEMU_BINARY_SUFFIX}"
else
SERENITY_QEMU_BIN="${QEMU_BINARY_PREFIX}qemu-system-i386${QEMU_BINARY_SUFFIX}"