about summary refs log tree commit diff
diff options
context:
space:
mode:
authorStafford Horne <shorne@gmail.com>2021-10-20 06:54:48 +0900
committerStafford Horne <shorne@gmail.com>2022-01-05 06:40:06 +0900
commite9816506549404b663d8cbb8c237dcc2b8a4a2d1 (patch)
treec412c637db671933a74dd4e9cf8d29fb394bbd3d
parent0c3c62ca7d9ff3bdacdd13e636bc858101e3e288 (diff)
downloadglibc-e9816506549404b663d8cbb8c237dcc2b8a4a2d1.tar.gz
glibc-e9816506549404b663d8cbb8c237dcc2b8a4a2d1.tar.xz
glibc-e9816506549404b663d8cbb8c237dcc2b8a4a2d1.zip
build-many-glibcs.py: add OpenRISC support
Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
-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 354b870742..07a3705f39 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -335,6 +335,10 @@ class Context(object):
                                  'ccopts': '-mabi=64'}])
         self.add_config(arch='nios2',
                         os_name='linux-gnu')
+        self.add_config(arch='or1k',
+                        os_name='linux-gnu',
+                        variant='soft',
+                        gcc_cfg=['--with-multilib-list=mcmov'])
         self.add_config(arch='powerpc',
                         os_name='linux-gnu',
                         gcc_cfg=['--disable-multilib', '--enable-secureplt'],
@@ -1271,6 +1275,7 @@ def install_linux_headers(policy, cmdlist):
                 'microblaze': 'microblaze',
                 'mips': 'mips',
                 'nios2': 'nios2',
+                'or1k': 'openrisc',
                 'powerpc': 'powerpc',
                 's390': 's390',
                 'riscv32': 'riscv',