]> code.ossystems Code Review - openembedded-core.git/commit
runqemu: don't complain about conflicting machines if they are equal
authorPascal Bach <pascal.bach@siemens.com>
Thu, 24 Sep 2015 16:10:05 +0000 (18:10 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 28 Sep 2015 10:58:32 +0000 (11:58 +0100)
commit6615a21d578ba9ab053ba0b3deab26ebf88e577b
tree63a6ca32db78c1efcd190d94d4a47f59ea040e0a
parent94057ccc70aa3fe29d774f571a65f56fd1285d4c
runqemu: don't complain about conflicting machines if they are equal

When the MACHINE variable was set as an environment variable, via
"export MACHINE=qemuarm" and runqemu was executed as "runqemu qemuarm"

The confusing error message appears:
Error: conflicting MACHINE types [qemuarm] and [qemuarm]

This checks if the two values are equal, in that case there is no problem
and execution can continue.

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/runqemu