This commit is contained in:
Ciro Santilli
2017-06-30 23:28:36 +01:00
parent 3e0b03fc75
commit b5cafc8481
5 changed files with 53 additions and 35 deletions

13
run
View File

@@ -4,19 +4,22 @@ arch='x86_64'
while getopts a: OPT > /dev/null 2>&1; do
case "$OPT" in
'a')
arch=$OPTARG
arch="$OPTARG"
;;
esac
done
case "$arch" in
'x86_64')
defconfig=qemu_x86_64_defconfig
;;
defconfig='qemu_x86_64_defconfig'
;;
'arm')
# qemu_arm_vexpress_defconfig required a newer QEMU than 2.0.0 on a Ubuntu host.
# so let's stick to versatile for now.
defconfig=qemu_arm_versatile_defconfig
;;
defconfig='qemu_arm_versatile_defconfig'
;;
'mips64')
defconfig='qemu_mips64r6_malta_defconfig'
;;
esac
cd buildroot