diff options
-rwxr-xr-x | scripts/runqemu | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index 3e2172434c..cfdb0c53fb 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
@@ -443,6 +443,12 @@ class BaseConfig(object): | |||
443 | self.set("DEPLOY_DIR_IMAGE", p) | 443 | self.set("DEPLOY_DIR_IMAGE", p) |
444 | self.check_arg_machine(unknown_arg) | 444 | self.check_arg_machine(unknown_arg) |
445 | 445 | ||
446 | if not (self.get('MACHINE') or self.get('DEPLOY_DIR_IMAGE')): | ||
447 | self.load_bitbake_env() | ||
448 | s = re.search('^DEPLOY_DIR_IMAGE="(.*)"', self.bitbake_e, re.M) | ||
449 | if s: | ||
450 | self.set("DEPLOY_DIR_IMAGE", s.group(1)) | ||
451 | |||
446 | def check_kvm(self): | 452 | def check_kvm(self): |
447 | """Check kvm and kvm-host""" | 453 | """Check kvm and kvm-host""" |
448 | if not (self.kvm_enabled or self.vhost_enabled): | 454 | if not (self.kvm_enabled or self.vhost_enabled): |