mirror of
https://git.yoctoproject.org/poky
synced 2026-04-13 05:02:24 +02:00
llvm: Use LoongArch as host for LLVM architecture
(From OE-Core rev: 9b07e2e8ab2dd23e003d2aab6f2b7a7e58eb4652) 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
e4f6eff971
commit
12151ad2f5
@@ -43,6 +43,7 @@ def get_llvm_arch(bb, d, arch_var):
|
||||
elif re.match(r'armeb$', a): return 'ARM'
|
||||
elif re.match(r'aarch64$', a): return 'AArch64'
|
||||
elif re.match(r'aarch64_be$', a): return 'AArch64'
|
||||
elif re.match(r'loongarch(32|64|)$', a): return 'LoongArch'
|
||||
elif re.match(r'mips(isa|)(32|64|)(r6|)(el|)$', a): return 'Mips'
|
||||
elif re.match(r'riscv(32|64)(eb|)$', a): return 'RISCV'
|
||||
elif re.match(r'p(pc|owerpc)(|64)', a): return 'PowerPC'
|
||||
|
||||
Reference in New Issue
Block a user