diff mbox series

[v6,12/13] build-many-glibcs.py: Enable ARC builds

Message ID 20200423014126.10417-13-vgupta@synopsys.com
State Superseded
Headers show
Series glibc port to ARC processors | expand

Commit Message

Vineet Gupta April 23, 2020, 1:41 a.m. UTC
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
---
 scripts/build-many-glibcs.py | 10 ++++++++++
 1 file changed, 10 insertions(+)

Comments

Adhemerval Zanella June 4, 2020, 12:08 p.m. UTC | #1
On 22/04/2020 22:41, Vineet Gupta via Libc-alpha wrote:
> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>

LGTM, thanks.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>

> ---
>  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 4832912b28b9..752da3657a01 100755
> --- a/scripts/build-many-glibcs.py
> +++ b/scripts/build-many-glibcs.py
> @@ -162,6 +162,15 @@ class Context(object):
>                                         'cfg': ['--disable-multi-arch']}])
>          self.add_config(arch='aarch64_be',
>                          os_name='linux-gnu')
> +        self.add_config(arch='arc',
> +                        os_name='linux-gnu',
> +                        gcc_cfg=['--disable-multilib', '--with-cpu=hs38'])
> +        self.add_config(arch='arc',
> +                        os_name='linux-gnuhf',
> +                        gcc_cfg=['--disable-multilib', '--with-cpu=hs38_linux'])
> +        self.add_config(arch='arceb',
> +                        os_name='linux-gnu',
> +                        gcc_cfg=['--disable-multilib', '--with-cpu=hs38'])
>          self.add_config(arch='alpha',
>                          os_name='linux-gnu')
>          self.add_config(arch='arm',
> @@ -1224,6 +1233,7 @@ def install_linux_headers(policy, cmdlist):
>      """Install Linux kernel headers."""
>      arch_map = {'aarch64': 'arm64',
>                  'alpha': 'alpha',
> +                'arc': 'arc',
>                  'arm': 'arm',
>                  'csky': 'csky',
>                  'hppa': 'parisc',
>
diff mbox series

Patch

diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index 4832912b28b9..752da3657a01 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -162,6 +162,15 @@  class Context(object):
                                        'cfg': ['--disable-multi-arch']}])
         self.add_config(arch='aarch64_be',
                         os_name='linux-gnu')
+        self.add_config(arch='arc',
+                        os_name='linux-gnu',
+                        gcc_cfg=['--disable-multilib', '--with-cpu=hs38'])
+        self.add_config(arch='arc',
+                        os_name='linux-gnuhf',
+                        gcc_cfg=['--disable-multilib', '--with-cpu=hs38_linux'])
+        self.add_config(arch='arceb',
+                        os_name='linux-gnu',
+                        gcc_cfg=['--disable-multilib', '--with-cpu=hs38'])
         self.add_config(arch='alpha',
                         os_name='linux-gnu')
         self.add_config(arch='arm',
@@ -1224,6 +1233,7 @@  def install_linux_headers(policy, cmdlist):
     """Install Linux kernel headers."""
     arch_map = {'aarch64': 'arm64',
                 'alpha': 'alpha',
+                'arc': 'arc',
                 'arm': 'arm',
                 'csky': 'csky',
                 'hppa': 'parisc',