diff --git a/scripts/poky-qemu b/scripts/poky-qemu index c74a16f4a6..6c53b07723 100755 --- a/scripts/poky-qemu +++ b/scripts/poky-qemu @@ -37,7 +37,7 @@ else fi if [ "x$MACHINE" = "x" ]; then - MACHINE=`basename $ZIMAGE | sed -r -e 's#.*-([a-z]+)-?[0-9]*..*#\1#'` + MACHINE=`basename $ZIMAGE | sed -r -e 's#.*-([a-z]+[0-9]*)-?[0-9]*..*#\1#'` fi INTERNAL_SCRIPT=`which poky-qemu-internal`