diff options
author | Jialing Zhang <zhangjialing@loongson.cn> | 2023-03-22 10:45:59 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-03-23 22:36:46 +0000 |
commit | bcd0a40030c71de0a06460057c123749b2fec8dd (patch) | |
tree | 50103144d723006bf1358bb2c2748c007738278b /scripts | |
parent | 46186808bd614968ae8f4cec864bcdfbe9dfac86 (diff) | |
download | poky-bcd0a40030c71de0a06460057c123749b2fec8dd.tar.gz |
Do not remove the -m option for loongarch64
(From OE-Core rev: 6f3583675d31b74a3ae1c7fae450ea1624acc2e7)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/runqemu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index 1a378925ce..fee6b25b97 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
@@ -811,7 +811,7 @@ to your build configuration. | |||
811 | self.set('QB_MEM', qb_mem) | 811 | self.set('QB_MEM', qb_mem) |
812 | 812 | ||
813 | mach = self.get('MACHINE') | 813 | mach = self.get('MACHINE') |
814 | if not mach.startswith(('qemumips', 'qemux86')): | 814 | if not mach.startswith(('qemumips', 'qemux86', 'qemuloongarch64')): |
815 | self.kernel_cmdline_script += ' mem=%s' % self.get('QB_MEM').replace('-m','').strip() + 'M' | 815 | self.kernel_cmdline_script += ' mem=%s' % self.get('QB_MEM').replace('-m','').strip() + 'M' |
816 | 816 | ||
817 | self.qemu_opt_script += ' %s' % self.get('QB_MEM') | 817 | self.qemu_opt_script += ' %s' % self.get('QB_MEM') |