mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
base: add support for loongarch64
(From OE-Core rev: 759baaceb4dd623d5da12ba0d01540fa080154ba) Signed-off-by: Xiaotian Wu <wuxiaotian@loongson.cn> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
69b8b7ef1b
commit
324b03e15f
+3
-1
@@ -1313,7 +1313,7 @@ class BaseConfig(object):
|
||||
"""attempt to determine the appropriate qemu-system binary"""
|
||||
mach = self.get('MACHINE')
|
||||
if not mach:
|
||||
search = '.*(qemux86-64|qemux86|qemuarm64|qemuarm|qemumips64|qemumips64el|qemumipsel|qemumips|qemuppc).*'
|
||||
search = '.*(qemux86-64|qemux86|qemuarm64|qemuarm|qemuloongarch64|qemumips64|qemumips64el|qemumipsel|qemumips|qemuppc).*'
|
||||
if self.rootfs:
|
||||
match = re.match(search, self.rootfs)
|
||||
if match:
|
||||
@@ -1336,6 +1336,8 @@ class BaseConfig(object):
|
||||
qbsys = 'x86_64'
|
||||
elif mach == 'qemuppc':
|
||||
qbsys = 'ppc'
|
||||
elif mach == 'qemuloongarch64':
|
||||
qbsys = 'loongarch64'
|
||||
elif mach == 'qemumips':
|
||||
qbsys = 'mips'
|
||||
elif mach == 'qemumips64':
|
||||
|
||||
Reference in New Issue
Block a user