diff options
author | Ricardo Neri <ricardo.neri-calderon@linux.intel.com> | 2015-02-06 12:59:58 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-14 08:40:34 +0000 |
commit | 29c9e6f44541b7f8731e21e9d1a0adca9da28e37 (patch) | |
tree | 36351fb49b3b2df88e70c33410038376b05d2664 /scripts/runqemu | |
parent | f9fd13dd776c9949b5a6e15024a72d7713c0e64a (diff) | |
download | openembedded-core-29c9e6f44541b7f8731e21e9d1a0adca9da28e37.tar.gz openembedded-core-29c9e6f44541b7f8731e21e9d1a0adca9da28e37.tar.bz2 openembedded-core-29c9e6f44541b7f8731e21e9d1a0adca9da28e37.zip |
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.
Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-x | scripts/runqemu | 3 |
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 "biosdir="*) CUSTOMBIOSDIR="${arg##biosdir=}" ;; + "biosfilename="*) + SCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -bios ${arg##biosfilename=}" + ;; "qemuparams="*) SCRIPT_QEMU_EXTRA_OPT="${arg##qemuparams=}" |