[v6,10/11] Add nds32 port to build-many-glibcs.py
diff mbox series

Message ID 1561822890-23219-11-git-send-email-vincentc@andestech.com
State New
Headers show
Series
  • nds32 glibc port, v6
Related show

Commit Message

Vincent Chen June 29, 2019, 3:41 p.m. UTC
From: CheWei Chunang <cnoize@andestech.com>

2019-06-29  Vincent Chen  <vincentc@andestech.com>
2019-06-29  CheWei Chuang  <cnoize@andestech.com>

        * scripts/build-many-glibcs.py (Context): Add nds32 targets.
---
 scripts/build-many-glibcs.py | 7 +++++++
 1 file changed, 7 insertions(+)

Patch
diff mbox series

diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index c5821df..a64a19f 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -299,6 +299,12 @@  class Context(object):
                                  'ccopts': '-mabi=32'},
                                 {'variant': 'n64-nan2008-soft',
                                  'ccopts': '-mabi=64'}])
+        self.add_config(arch='nds32le',
+                        os_name='linux-gnu',
+                        variant='v3',
+                        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',
@@ -1269,6 +1275,7 @@  class Config(object):
                     'm68k': 'm68k',
                     'microblaze': 'microblaze',
                     'mips': 'mips',
+                    'nds32': 'nds32',
                     'nios2': 'nios2',
                     'powerpc': 'powerpc',
                     's390': 's390',