This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH v3 13/13] Add nds32 port to build-many-glibcs.py
- From: Vincent Chen <vincentc at andestech dot com>
- To: <libc-alpha at sourceware dot org>, <joseph at codesourcery dot com>
- Cc: <deanbo422 at gmail dot com>, <cnoize at andestech dot com>
- Date: Thu, 14 Jun 2018 15:22:56 +0800
- Subject: [PATCH v3 13/13] Add nds32 port to build-many-glibcs.py
- References: <1528960976-10934-1-git-send-email-vincentc@andestech.com>
From: CheWei Chunang <cnoize@andestech.com>
The nds32 toochain cannot be generated successfully by this patch because
the nds32 port of Binutils and GCC on upstream is too old. This patch is
used to help reviewer to review the glibc port for Andes nds32 ISA.
2018-05-30 CheWei Chuang <cnoize@andestech.com>
* scripts/build-many-glibcs.py (Context): Add nds32 targets.
(Config): Likewise.
---
scripts/build-many-glibcs.py | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index 601718d..a1ecbfe 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -302,6 +302,11 @@ class Context(object):
'ccopts': '-mabi=32'},
{'variant': 'n64-nan2008-soft',
'ccopts': '-mabi=64'}])
+ self.add_config(arch='nds32le',
+ os_name='linux-gnu',
+ gcc_cfg=['--with-arch=v3', '--with-cpu=n13',
+ '--enable-default-relax=no',
+ '--disable-multilib'])
self.add_config(arch='nios2',
os_name='linux-gnu')
self.add_config(arch='powerpc',
@@ -1256,6 +1261,7 @@ class Config(object):
'm68k': 'm68k',
'microblaze': 'microblaze',
'mips': 'mips',
+ 'nds32': 'nds32',
'nios2': 'nios2',
'powerpc': 'powerpc',
's390': 's390',
--
2.7.4