[scripts][do-qemuarm] accept 4k/16k/64k as page size aliases

This commit is contained in:
Travis Geiselbrecht
2025-09-16 13:15:15 -07:00
parent fb9c37cbd6
commit 457355fa3c

View File

@@ -90,6 +90,15 @@ done
shift $((OPTIND-1))
# accept some aliases to page size
if [ "$PAGE_SIZE" == "4k" ]; then
PAGE_SIZE=4096
elif [ "$PAGE_SIZE" == "16k" ]; then
PAGE_SIZE=16384
elif [ "$PAGE_SIZE" == "64k" ]; then
PAGE_SIZE=65536
fi
# pick the appropriate qemu and project
if [ $DO_64BIT == 1 ]; then
QEMU="qemu-system-aarch64"