summaryrefslogtreecommitdiff
path: root/toolchain/glibc/Makefile.multilib
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2012-10-11 11:05:05 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2012-10-11 11:05:05 +0200
commit046cf475d64cb44460ac0aeb9e53032efd8185d0 (patch)
tree46ddb06b418e42c52c0a02ba2b90f0f4d2b9b93e /toolchain/glibc/Makefile.multilib
parent58de4f5caf471cecbaebdb023cd8e2c5f89bfdb3 (diff)
parentec67efc42516136adee22d15ef1fb64b32637806 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'toolchain/glibc/Makefile.multilib')
-rw-r--r--toolchain/glibc/Makefile.multilib16
1 files changed, 16 insertions, 0 deletions
diff --git a/toolchain/glibc/Makefile.multilib b/toolchain/glibc/Makefile.multilib
new file mode 100644
index 000000000..47cc0ff99
--- /dev/null
+++ b/toolchain/glibc/Makefile.multilib
@@ -0,0 +1,16 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+# multilib support
+ifeq ($(ADK_TARGET_WITH_MULTILIB),y)
+TABI:=
+ifeq ($(ADK_TARGET_MULTILIB_X86_X32),y)
+TABI+=x86_64-openadk-linux-gnu:x32
+endif
+ifeq ($(ADK_TARGET_MULTILIB_X86_32),y)
+TABI+=i486-openadk-linux-gnu:32
+endif
+ifeq ($(ADK_TARGET_MULTILIB_X86_64),y)
+TABI+=x86_64-openadk-linux-gnu:64
+endif
+endif