]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
Do not remove the -m option for loongarch64
authorJialing Zhang <zhangjialing@loongson.cn>
Wed, 22 Mar 2023 02:45:59 +0000 (10:45 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Mar 2023 22:36:25 +0000 (22:36 +0000)
Signed-off-by: Jialing Zhang <zhangjialing@loongson.cn>
Signed-off-by: Qizheng Zhu <zhuqizheng@loongson.cn>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
scripts/runqemu

index 1a378925cecd0a205ff07a2d79180afc2fe61890..fee6b25b9747c2a71e041ed0fd68f860b3b3d094 100755 (executable)
@@ -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')