aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZong Li <zongbox@gmail.com>2018-11-30 17:18:40 +0800
committerAndreas K. Hüttel <dilfridge@gentoo.org>2020-09-13 20:34:52 +0300
commite366f235f3e584e1a6ee27d4c3d16f8b89d63955 (patch)
tree5e4b3880109808923f2c9063e3b20e82db8d99c0
parentRISC-V: Build infrastructure for 32-bit port (diff)
downloadglibc-gentoo/2.32-rv32.tar.gz
glibc-gentoo/2.32-rv32.tar.bz2
glibc-gentoo/2.32-rv32.zip
Add RISC-V 32-bit target to build-many-glibcs.pygentoo/2.32-rv32
Support building three variants of 32-bit RISC-V glibc as follows: - riscv32-linux-gnu-rv32imac-ilp32 - riscv32-linux-gnu-rv32imafdc-ilp32 - riscv32-linux-gnu-rv32imafdc-ilp32d Reviewed-by: Maciej W. Rozycki <macro@wdc.com>
-rwxr-xr-xscripts/build-many-glibcs.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index efd9a9e6dc..c7609f043b 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -347,6 +347,21 @@ class Context(object):
self.add_config(arch='powerpc64le',
os_name='linux-gnu',
gcc_cfg=['--disable-multilib', '--enable-secureplt'])
+ self.add_config(arch='riscv32',
+ os_name='linux-gnu',
+ variant='rv32imac-ilp32',
+ gcc_cfg=['--with-arch=rv32imac', '--with-abi=ilp32',
+ '--disable-multilib'])
+ self.add_config(arch='riscv32',
+ os_name='linux-gnu',
+ variant='rv32imafdc-ilp32',
+ gcc_cfg=['--with-arch=rv32imafdc', '--with-abi=ilp32',
+ '--disable-multilib'])
+ self.add_config(arch='riscv32',
+ os_name='linux-gnu',
+ variant='rv32imafdc-ilp32d',
+ gcc_cfg=['--with-arch=rv32imafdc', '--with-abi=ilp32d',
+ '--disable-multilib'])
self.add_config(arch='riscv64',
os_name='linux-gnu',
variant='rv64imac-lp64',