summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
Diffstat (limited to 'target')
-rw-r--r--target/config/Config.in1
-rw-r--r--target/tarch.lst2
-rw-r--r--target/x86_64/sys-available/toolchain-x86_64_3212
-rw-r--r--target/x86_64/sys-available/toolchain-x86_64_x3212
4 files changed, 27 insertions, 0 deletions
diff --git a/target/config/Config.in b/target/config/Config.in
index 84f19adec..4586de17b 100644
--- a/target/config/Config.in
+++ b/target/config/Config.in
@@ -175,6 +175,7 @@ endchoice
config ADK_TARGET_LIBC_PATH
string
+ default "lib" if ADK_32
default "lib32" if ADK_n32
default "libx32" if ADK_x32
default "lib64" if ADK_n64 \
diff --git a/target/tarch.lst b/target/tarch.lst
index 13c578c04..7e9014a37 100644
--- a/target/tarch.lst
+++ b/target/tarch.lst
@@ -18,3 +18,5 @@ sparc
sparc64
x86
x86_64
++x86_64_32
++x86_64_x32
diff --git a/target/x86_64/sys-available/toolchain-x86_64_32 b/target/x86_64/sys-available/toolchain-x86_64_32
new file mode 100644
index 000000000..501c31050
--- /dev/null
+++ b/target/x86_64/sys-available/toolchain-x86_64_32
@@ -0,0 +1,12 @@
+config ADK_TARGET_SYSTEM_TOOLCHAIN_X86_64_32
+ bool "Toolchain only (32 ABI)"
+ select ADK_x86_64
+ select ADK_32
+ select ADK_toolchain_x86_64
+ select ADK_CPU_X86_64
+ select ADK_LINUX_64
+ select ADK_TOOLCHAIN
+ select ADK_TARGET_PACKAGE_TGZ
+ help
+ Build a x86_64 toolchain.
+
diff --git a/target/x86_64/sys-available/toolchain-x86_64_x32 b/target/x86_64/sys-available/toolchain-x86_64_x32
new file mode 100644
index 000000000..090d474b6
--- /dev/null
+++ b/target/x86_64/sys-available/toolchain-x86_64_x32
@@ -0,0 +1,12 @@
+config ADK_TARGET_SYSTEM_TOOLCHAIN_X86_64_X32
+ bool "Toolchain only (x32 ABI)"
+ select ADK_x86_64
+ select ADK_x32
+ select ADK_toolchain_x86_64
+ select ADK_CPU_X86_64
+ select ADK_LINUX_64
+ select ADK_TOOLCHAIN
+ select ADK_TARGET_PACKAGE_TGZ
+ help
+ Build a x86_64 toolchain.
+