Meta: Run qemu-system-aarch64 in aarch64 builds in run.sh

This commit is contained in:
Nico Weber 2021-08-28 13:08:20 -04:00 committed by Linus Groh
parent 00c5e68b11
commit 230ea3754d
Notes: sideshowbarker 2024-07-18 05:08:14 +09:00

View file

@ -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}"