This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH v5 12/14] 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: Mao Han <han_mao at c-sky dot com>, c-sky_gcc_upstream at c-sky dot com, gnu-csky at mentor dot com
- Date: Mon, 19 Nov 2018 13:22:39 +0800
- Subject: [PATCH v5 12/14] C-SKY: Add build-many-glibcs.py support
- References: <cover.1542591094.git.han_mao@c-sky.com>
- References: <cover.1542598109.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 1bf8ee1..ad0269a 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',
@@ -1247,6 +1256,7 @@ class Config(object):
arch_map = {'aarch64': 'arm64',
'alpha': 'alpha',
'arm': 'arm',
+ 'csky': 'csky',
'hppa': 'parisc',
'i486': 'x86',
'i586': 'x86',
--
2.7.4