about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2020-03-12 18:29:59 -0700
committerVineet Gupta <vgupta@synopsys.com>2020-07-10 16:08:45 -0700
commit2fc2260ba467831ddd4e0809c4df20bb5cdecd0e (patch)
tree493b45798f922cf3dbfd0602a83d28cb4bf02485 /scripts
parent0be8ae3679570ff9a193615a035fc8074a8c704f (diff)
downloadglibc-2fc2260ba467831ddd4e0809c4df20bb5cdecd0e.tar.gz
glibc-2fc2260ba467831ddd4e0809c4df20bb5cdecd0e.tar.xz
glibc-2fc2260ba467831ddd4e0809c4df20bb5cdecd0e.zip
build-many-glibcs.py: Enable ARC builds
Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build-many-glibcs.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index dfaaf50a19..00ba6f6b11 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',
@@ -1221,6 +1230,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',