summaryrefslogtreecommitdiffstats
path: root/scripts/runqemu
diff options
context:
space:
mode:
authorRicardo Neri <ricardo.neri-calderon@linux.intel.com>2015-02-06 12:59:58 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-14 08:40:57 +0000
commitedde3e58da00adf9ef3a8cc687268f6e24294c7c (patch)
tree7e976dc805620934e943587dd72e4f198f555ef4 /scripts/runqemu
parent98da500a19c1fab90cce4c94ce82ff3aaf382648 (diff)
downloadpoky-edde3e58da00adf9ef3a8cc687268f6e24294c7c.tar.gz
runqemu: Add option for BIOS binary filename
If we intend to use a custom BIOS binary file, it would be good to be able to specify the name of the binary via the -bios option of qemu. The name of the custom binary could be different from the default name used by qemu. For instance, it was bios.bin in qemu 1.5.0 and changed to bios-256k.bin for 2.1.0. (From OE-Core rev: 29c9e6f44541b7f8731e21e9d1a0adca9da28e37) Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-xscripts/runqemu3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index da35bb80d2..3d753191cd 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -153,6 +153,9 @@ while true; do
153 "biosdir="*) 153 "biosdir="*)
154 CUSTOMBIOSDIR="${arg##biosdir=}" 154 CUSTOMBIOSDIR="${arg##biosdir=}"
155 ;; 155 ;;
156 "biosfilename="*)
157 SCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -bios ${arg##biosfilename=}"
158 ;;
156 "qemuparams="*) 159 "qemuparams="*)
157 SCRIPT_QEMU_EXTRA_OPT="${arg##qemuparams=}" 160 SCRIPT_QEMU_EXTRA_OPT="${arg##qemuparams=}"
158 161