summary refs log tree commit diff
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2017-10-09 15:53:33 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2017-10-17 12:01:22 -0200
commit3d265601358974c9be8264e53dadd8f9aea5690c (patch)
treee42c1a756709b7a4606925c93a8d6b895b3fb77a
parent4e17c78e4a5da41b3cfefdd49ab760b051b65029 (diff)
downloadglibc-3d265601358974c9be8264e53dadd8f9aea5690c.tar.gz
glibc-3d265601358974c9be8264e53dadd8f9aea5690c.tar.xz
glibc-3d265601358974c9be8264e53dadd8f9aea5690c.zip
Add build-many-glibcs.py arm-linux-gnueabihf-v7{-disable-multiarch}
This patch adds two extra configuration for arm-linux-gnueabihf to
cover for multiarch support:

  1. arm-linux-gnueabihf-v7a: enables multiarch support by using
     -march=armv7a.

  2. Same as 1. but with --disable-multiarch.

Check with build-many-glibcs.py for both options.

	* scripts/build-many-glibcs.py (Context.add_all_configs):
	Add arm-linux-gnueabihf multiarch extra_glibcs.
-rw-r--r--ChangeLog3
-rwxr-xr-xscripts/build-many-glibcs.py7
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2ca679ae09..64f5ca7ff3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2017-10-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
 
+	* scripts/build-many-glibcs.py (Context.add_all_configs):
+	Add arm-linux-gnueabihf multiarch extra_glibcs.
+
 	* sysdeps/generic/ifunc-init.h: New file.
 	* sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
 
diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index a6c01f9cc4..4cd0a81f4b 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -174,7 +174,12 @@ class Context(object):
                         variant='be8',
                         gcc_cfg=['--with-arch=armv7-a'])
         self.add_config(arch='arm',
-                        os_name='linux-gnueabihf')
+                        os_name='linux-gnueabihf',
+                        extra_glibcs=[{'variant': 'v7a',
+                                       'ccopts': '-march=armv7a'},
+                                      {'variant': 'v7a-disable-multi-arch',
+                                       'ccopts': '-march=armv7a',
+                                       'cfg': ['--disable-multi-arch']}])
         self.add_config(arch='armeb',
                         os_name='linux-gnueabihf')
         self.add_config(arch='armeb',