Accept MACH=arm32
[training-lab.git] / scripts / start_runtime
index 01307dc..e15dc09 100755 (executable)
@@ -16,7 +16,8 @@ case $MACHINE in
            QEMU=qemu-system-aarch64
            CPU_OPTS="-cpu host --enable-kvm"
            MACH_OPTS="-machine virt,gic-version=host,kernel_irqchip=on"
-       elif [ "$MACH"x = "arm"x ]; then
+       elif [ "$MACH"x = "arm"x ] ||\
+               [ "$MACH"x = "arm32" ] ; then
            MACH=arm
            QEMU=qemu-system-aarch64
            CPU_OPTS="-cpu host,aarch64=off --enable-kvm"
@@ -34,7 +35,8 @@ case $MACHINE in
            QEMU=qemu-system-aarch64
            CPU_OPTS="-cpu cortex-a57"
            MACH_OPTS="-M virt"
-       elif [ "$MACH"x = "arm"x ]; then
+       elif [ "$MACH"x = "arm"x ] ||\
+               [ "$MACH"x = "arm32" ] ; then
            MACH=arm
            QEMU=qemu-system-arm
            CPU_OPTS="-cpu cortex-a15"