LoongArch: Update build-many-glibcs.py for the LoongArch Port.
authorcaiyinyu <caiyinyu@loongson.cn>
Tue, 19 Jul 2022 01:22:09 +0000 (09:22 +0800)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 26 Jul 2022 15:35:12 +0000 (12:35 -0300)
scripts/build-many-glibcs.py

index cc058e115c7b3538a98755244182c3b46f92a422..da9b905900d3197bde1e91c4bddff0112d9385b2 100755 (executable)
@@ -218,6 +218,10 @@ class Context(object):
                         os_name='linux-gnu',
                         first_gcc_cfg=['--with-system-libunwind'],
                         binutils_cfg=['--enable-obsolete'])
+        self.add_config(arch='loongarch64',
+                        os_name='linux-gnu',
+                        variant='lp64d',
+                        gcc_cfg=['--with-abi=lp64d','--disable-multilib'])
         self.add_config(arch='m68k',
                         os_name='linux-gnu',
                         gcc_cfg=['--disable-multilib'])
@@ -1271,6 +1275,7 @@ def install_linux_headers(policy, cmdlist):
                 'i686': 'x86',
                 'i786': 'x86',
                 'ia64': 'ia64',
+                'loongarch64': 'loongarch',
                 'm68k': 'm68k',
                 'microblaze': 'microblaze',
                 'mips': 'mips',