summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2007-04-28 17:10:31 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2007-04-28 17:10:31 +0000
commit4d4e1149ebe107248b21e598ed1d54478680a20a (patch)
treebd15bb3fb99dd1a26cb8b24c7fe645e9f5504fb2 /toolchain
parent4b2ebdb6d9572acf6bf7f926a6521c8d2fe9aea2 (diff)
When using an external toolchain, we still need to have the user select which thread model the toolchain was built with. This allows for proper building of LTP and possibly other packages.
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/external-toolchain/Config.in27
1 files changed, 25 insertions, 2 deletions
diff --git a/toolchain/external-toolchain/Config.in b/toolchain/external-toolchain/Config.in
index c004175cd..c3189456f 100644
--- a/toolchain/external-toolchain/Config.in
+++ b/toolchain/external-toolchain/Config.in
@@ -27,10 +27,10 @@ config BR2_TOOLCHAIN_EXTERNAL_STRIP
help
Strip shared libraries copied from the external toolchain.
-source "toolchain/gdb/Config.in.2"
-
comment "Common Toolchain Options"
+source "toolchain/gdb/Config.in.2"
+
config BR2_TOOLCHAIN_EXTERNAL_PATH
string "External toolchain path"
default ""
@@ -44,6 +44,29 @@ config BR2_TOOLCHAIN_EXTERNAL_PREFIX
This the the external toolchain prefix. For example:
armeb-unknown-linux-gnu, mipsel-unknown-linux-gnu, etc.
+choice
+ prompt "Thread library implementation"
+ default BR2_EXT_PTHREADS_OLD
+ help
+ Select the version of libpthreads used in the external toolchain.
+
+ config BR2_EXT_PTHREADS_NONE
+ bool
+ prompt "none"
+
+ config BR2_EXT_PTHREADS
+ bool
+ prompt "linuxthreads"
+
+ config BR2_EXT_PTHREADS_OLD
+ bool
+ prompt "linuxthreads (stable/old)"
+
+ config BR2_EXT_PTHREADS_NATIVE
+ bool
+ prompt "Native POSIX Threading (NPTL)"
+endchoice
+
config BR2_LARGEFILE
bool "Enable large file (files > 2 GB) support?"
depends on !BR2_cris