summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJialing Zhang <zhangjialing@loongson.cn>2023-03-22 11:00:44 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-03-23 22:36:46 +0000
commit04daa7c7d0c1f39c01bbed49c4970395d5496530 (patch)
treee543f8654de422e2a468e39173cbe39449a889ab
parent5fbb9bba3dd41fbe9ac3aff5e2c700bff0aaa50a (diff)
downloadpoky-04daa7c7d0c1f39c01bbed49c4970395d5496530.tar.gz
add support for loongarch64
add locale_arch_options for loongarch64 (From OE-Core rev: f7ccc906ac55bc1892bc243cef968b54c51c685b) 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>
-rw-r--r--meta/lib/oe/package_manager/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/lib/oe/package_manager/__init__.py b/meta/lib/oe/package_manager/__init__.py
index a6bf2fe219..0c313190cf 100644
--- a/meta/lib/oe/package_manager/__init__.py
+++ b/meta/lib/oe/package_manager/__init__.py
@@ -122,7 +122,8 @@ def generate_locale_archive(d, rootfs, target_arch, localedir):
122 "riscv32": ["--uint32-align=4", "--little-endian"], 122 "riscv32": ["--uint32-align=4", "--little-endian"],
123 "i586": ["--uint32-align=4", "--little-endian"], 123 "i586": ["--uint32-align=4", "--little-endian"],
124 "i686": ["--uint32-align=4", "--little-endian"], 124 "i686": ["--uint32-align=4", "--little-endian"],
125 "x86_64": ["--uint32-align=4", "--little-endian"] 125 "x86_64": ["--uint32-align=4", "--little-endian"],
126 "loongarch64": ["--uint32-align=4", "--little-endian"]
126 } 127 }
127 if target_arch in locale_arch_options: 128 if target_arch in locale_arch_options:
128 arch_options = locale_arch_options[target_arch] 129 arch_options = locale_arch_options[target_arch]