When using an external toolchain, we still need to have the user select which thread...
author"Steven J. Hill" <sjhill@realitydiluted.com>
Sat, 28 Apr 2007 17:10:31 +0000 (17:10 -0000)
committer"Steven J. Hill" <sjhill@realitydiluted.com>
Sat, 28 Apr 2007 17:10:31 +0000 (17:10 -0000)
toolchain/external-toolchain/Config.in

index c004175cd538b2b1a3ab4e7470d5fbb226a8769f..c3189456f087e9cfc9ba5e188eb9efc6b6709a7d 100644 (file)
@@ -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