Browse Source

add more threading options

Mike Frysinger 19 years ago
parent
commit
5105581c02
1 changed files with 15 additions and 10 deletions
  1. 15 10
      toolchain/uClibc/Config.in

+ 15 - 10
toolchain/uClibc/Config.in

@@ -22,16 +22,21 @@ config BR2_ENABLE_LOCALE
 	help
 	    Enable locale/gettext/i18n support?
 
-config BR2_PTHREADS
-	bool "Enable thread support"
-	default y
+choice
+	prompt "Thread library implementation"
+	default BR2_PTHREADS_OLD
 	help
-	    Enable support for libpthreads
+	  Select the version of libpthreads you want to use.
 
-config BR2_PTHREADS_NATIVE
-	bool "Enable Native POSIX Threading (NPTL) support?"
-	default n
-	depends on BR2_PTHREADS
-	help
-	    Enable Native POSIX Threading (NPTL) support?
+	config BR2_PTHREADS_NONE
+		bool "none"
+
+	config BR2_PTHREADS
+		bool "linuxthreads"
+
+	config BR2_PTHREADS_OLD
+		bool "linuxthreads (stable/old)"
 
+	config BR2_PTHREADS_NATIVE
+		bool "Native POSIX Threading (NPTL)"
+endchoice