about summary refs log tree commit diff
path: root/sysdeps/powerpc/Makefile
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2014-02-04 09:48:47 -0200
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2014-02-04 09:48:47 -0200
commit1695c7737655241e1773bdddc93e82c22d8d1584 (patch)
treedbf5bc7b0f53ba08d89748faab4044a00a916328 /sysdeps/powerpc/Makefile
parentdc98b8f5a9e876cbe9a778903c22bb196c43bb3c (diff)
downloadglibc-1695c7737655241e1773bdddc93e82c22d8d1584.tar.gz
glibc-1695c7737655241e1773bdddc93e82c22d8d1584.tar.xz
glibc-1695c7737655241e1773bdddc93e82c22d8d1584.zip
abilist-pattern configurability
This patch creates implicit rules to match the abifiles if
abilist-pattern is defined in the architecture Makefile. This allows
machine specific Makefiles to define different abifiles names
(for instance *-le.abilist for powerpc64le).
Diffstat (limited to 'sysdeps/powerpc/Makefile')
-rw-r--r--sysdeps/powerpc/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/powerpc/Makefile b/sysdeps/powerpc/Makefile
index f75e62523c..b11edd77bd 100644
--- a/sysdeps/powerpc/Makefile
+++ b/sysdeps/powerpc/Makefile
@@ -27,3 +27,7 @@ ifeq ($(subdir),misc)
 sysdep_headers += sys/platform/ppc.h
 tests += test-gettimebase
 endif
+
+ifneq (,$(filter %le,$(config-machine)))
+abilist-pattern = %-le.abilist
+endif