From: Jialing Zhang Date: Wed, 22 Mar 2023 02:45:59 +0000 (+0800) Subject: Do not remove the -m option for loongarch64 X-Git-Tag: 2023-04-mickledore~141 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f3583675d31b74a3ae1c7fae450ea1624acc2e7;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git Do not remove the -m option for loongarch64 Signed-off-by: Jialing Zhang Signed-off-by: Qizheng Zhu Signed-off-by: Alexandre Belloni --- diff --git a/scripts/runqemu b/scripts/runqemu index 1a378925cec..fee6b25b974 100755 --- a/scripts/runqemu +++ b/scripts/runqemu @@ -811,7 +811,7 @@ to your build configuration. self.set('QB_MEM', qb_mem) mach = self.get('MACHINE') - if not mach.startswith(('qemumips', 'qemux86')): + if not mach.startswith(('qemumips', 'qemux86', 'qemuloongarch64')): self.kernel_cmdline_script += ' mem=%s' % self.get('QB_MEM').replace('-m','').strip() + 'M' self.qemu_opt_script += ' %s' % self.get('QB_MEM')