summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/runqemu2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index 2be7a0f286..370b455781 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -884,7 +884,7 @@ to your build configuration.
884 self.set('QB_MEM', qb_mem) 884 self.set('QB_MEM', qb_mem)
885 885
886 mach = self.get('MACHINE') 886 mach = self.get('MACHINE')
887 if not mach.startswith(('qemumips', 'qemux86', 'qemuloongarch64')): 887 if not mach.startswith(('qemumips', 'qemux86', 'qemuloongarch64')) and self.get('QB_DTB') == "":
888 self.kernel_cmdline_script += ' mem=%s' % self.get('QB_MEM').replace('-m','').strip() + 'M' 888 self.kernel_cmdline_script += ' mem=%s' % self.get('QB_MEM').replace('-m','').strip() + 'M'
889 889
890 self.qemu_opt_script += ' %s' % self.get('QB_MEM') 890 self.qemu_opt_script += ' %s' % self.get('QB_MEM')