summaryrefslogtreecommitdiffstats
path: root/scripts/runqemu
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-xscripts/runqemu7
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index 6e1f073ed2..b4c1ae6d83 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -1486,7 +1486,12 @@ class BaseConfig(object):
1486 def start_qemu(self): 1486 def start_qemu(self):
1487 import shlex 1487 import shlex
1488 if self.kernel: 1488 if self.kernel:
1489 kernel_opts = "-kernel %s -append '%s %s %s %s'" % (self.kernel, self.kernel_cmdline, 1489 kernel_opts = "-kernel %s" % (self.kernel)
1490 if self.get('QB_KERNEL_CMDLINE') == "none":
1491 if self.bootparams:
1492 kernel_opts += " -append '%s'" % (self.bootparams)
1493 else:
1494 kernel_opts += " -append '%s %s %s %s'" % (self.kernel_cmdline,
1490 self.kernel_cmdline_script, self.get('QB_KERNEL_CMDLINE_APPEND'), 1495 self.kernel_cmdline_script, self.get('QB_KERNEL_CMDLINE_APPEND'),
1491 self.bootparams) 1496 self.bootparams)
1492 if self.dtb: 1497 if self.dtb: