Accept MACH=arm32
authorSteve McIntyre <steve.mcintyre@arm.com>
Mon, 11 May 2020 12:36:03 +0000 (13:36 +0100)
committerSteve McIntyre <steve.mcintyre@arm.com>
Mon, 11 May 2020 12:36:03 +0000 (13:36 +0100)
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"