On Fri, 2018-07-06 at 02:44 -0700, He Zhe wrote:
> diff --git a/scripts/runqemu b/scripts/runqemu
> index 597e7e9a799..a0c556b8728 100755
> --- a/scripts/runqemu
> +++ b/scripts/runqemu
> @@ -669,7 +669,7 @@ class BaseConfig(object):
>              self.set('QB_MEM', '-m 512')
>  
>          mach = self.get('MACHINE')
> -        if mach != 'qemumips':
> +        if mach != 'qemumips' and mach != 'qemumips64' and mach != 
> 'qemumipsel' and mach != 'qemumips64el':
>              self.kernel_cmdline_script += ' mem=%s' % 
> self.get('QB_MEM').replace('-m','').strip() + 'M'
>  
>          self.qemu_opt_script += ' %s' % self.get('QB_MEM')

Could we not just do:

if not mach.startswith('qemumips'):

?

Cheers,

Richard
-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to