[PATCH v8 11/12] C-SKY: Add build-many-glibcs.py support

Adhemerval Zanella adhemerval.zanella@linaro.org
Fri Dec 21 17:54:00 GMT 2018



On 20/12/2018 01:02, Mao Han wrote:
> 	* scripts/build-many-glibcs.py: Add C-SKY targets
> ---
>  scripts/build-many-glibcs.py | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
> index 9051ff1..e0cdb69 100755
> --- a/scripts/build-many-glibcs.py
> +++ b/scripts/build-many-glibcs.py
> @@ -181,6 +181,13 @@ 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'])
> +        self.add_config(arch='csky',
> +                        os_name='linux-gnuabiv2',
> +                        gcc_cfg=['--with-float=hard', '--disable-multilib'])
>          self.add_config(arch='hppa',
>                          os_name='linux-gnu')
>          self.add_config(arch='i686',
> @@ -1260,6 +1267,7 @@ class Config(object):
>          arch_map = {'aarch64': 'arm64',
>                      'alpha': 'alpha',
>                      'arm': 'arm',
> +                    'csky': 'csky',
>                      'hppa': 'parisc',
>                      'i486': 'x86',
>                      'i586': 'x86',
> 

So we will need to wait for kernel 4.20 or use a linus tree to actually build
a csky toolchain?



More information about the Libc-alpha mailing list