aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcaiyinyu <caiyinyu@loongson.cn>2022-07-19 09:22:09 +0800
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-07-26 12:35:12 -0300
commit3be5fc00ad04b89a709f79e0b008ca119c4aa01e (patch)
treef89d2aea50f9d62add0337dc5eb811b624803e97
parent68d61026d526fff88a7ae64ccf92b3f9da189249 (diff)
downloadglibc-3be5fc00ad04b89a709f79e0b008ca119c4aa01e.zip
glibc-3be5fc00ad04b89a709f79e0b008ca119c4aa01e.tar.gz
glibc-3be5fc00ad04b89a709f79e0b008ca119c4aa01e.tar.bz2
LoongArch: Update build-many-glibcs.py for the LoongArch Port.
-rwxr-xr-xscripts/build-many-glibcs.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index cc058e1..da9b905 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -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',