BuildSystem: Allow running qemu with i686 target

This commit is contained in:
Bananymous 2024-03-26 03:18:54 +02:00
parent ca23360d07
commit 84ef2161a1
1 changed files with 6 additions and 1 deletions

View File

@ -19,7 +19,12 @@ else
DISK_ARGS="-device ahci,id=ahci -device ide-hd,drive=disk,bus=ahci.0" DISK_ARGS="-device ahci,id=ahci -device ide-hd,drive=disk,bus=ahci.0"
fi fi
qemu-system-$BANAN_ARCH \ QEMU_ARCH=$BANAN_ARCH
if [ $BANAN_ARCH = "i686" ]; then
QEMU_ARCH=i386
fi
qemu-system-$QEMU_ARCH \
-m 1G \ -m 1G \
-smp 4 \ -smp 4 \
$BIOS_ARGS \ $BIOS_ARGS \