This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH v6 12/13] C-SKY: Add build-many-glibcs.py support
- From: Mao Han <han_mao at c-sky dot com>
- To: libc-alpha at sourceware dot org
- Cc: c-sky_gcc_upstream at c-sky dot com, gnu-csky at mentor dot com, ren_guo at c-sky dot com, yibin_liu at c-sky dot com, Mao Han <han_mao at c-sky dot com>
- Date: Thu, 29 Nov 2018 11:32:28 +0800
- Subject: [PATCH v6 12/13] C-SKY: Add build-many-glibcs.py support
- References: <cover.1543283180.git.han_mao@c-sky.com>
- References: <cover.1543283180.git.han_mao@c-sky.com>
* scripts/build-many-glibcs.py: Add C-SKY targets
---
scripts/build-many-glibcs.py | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index 376382d..13a444b 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -181,6 +181,15 @@ class Context(object):
variant='be8',
gcc_cfg=['--with-float=hard', '--with-arch=armv7-a',
'--with-fpu=vfpv3'])
+ self.add_config(arch='csky',
+ os_name='linux-gnuabiv2',
+ variant='soft',
+ gcc_cfg=['--disable-multilib',
+ '--enable-initfini-array'])
+ self.add_config(arch='csky',
+ os_name='linux-gnuabiv2',
+ gcc_cfg=['--with-float=hard', '--disable-multilib',
+ '--enable-initfini-array'])
self.add_config(arch='hppa',
os_name='linux-gnu')
self.add_config(arch='i686',
@@ -1261,6 +1270,7 @@ class Config(object):
arch_map = {'aarch64': 'arm64',
'alpha': 'alpha',
'arm': 'arm',
+ 'csky': 'csky',
'hppa': 'parisc',
'i486': 'x86',
'i586': 'x86',
--
2.7.4