[Buildroot] [PATCH 4/4] Allow user to select nptl when using 0.9.32 with ct-ng
Will Wagner
will_wagner at carallon.com
Mon Dec 5 18:08:18 UTC 2011
Signed-off-by: Will Wagner <will_wagner at carallon.com>
---
toolchain/toolchain-crosstool-ng/Config.in | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/toolchain/toolchain-crosstool-ng/Config.in b/toolchain/toolchain-crosstool-ng/Config.in
index 1669b12..5988952 100644
--- a/toolchain/toolchain-crosstool-ng/Config.in
+++ b/toolchain/toolchain-crosstool-ng/Config.in
@@ -58,12 +58,17 @@ choice
config BR2_TOOLCHAIN_CTNG_uClibc_VERSION_0_9_30
bool "uClibc 0.9.30.x"
+ select BR2_TOOLCHAIN_CTNG_uClibc_NO_NPTL
config BR2_TOOLCHAIN_CTNG_uClibc_VERSION_0_9_32
bool "uClibc 0.9.32.x"
endchoice
+# hidden option to disable nptl with uClibc
+config BR2_TOOLCHAIN_CTNG_uClibc_NO_NPTL
+ bool
+
config BR2_TOOLCHAIN_CTNG_uClibc_CONFIG
string "uClibc configuration file to use?"
default "toolchain/uClibc/uClibc-0.9.30.config" if BR2_TOOLCHAIN_CTNG_uClibc_VERSION_0_9_30
@@ -154,7 +159,8 @@ choice
bool "Native POSIX Threading (NPTL)"
select BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_TOOLCHAIN_CTNG_eglibc || \
- BR2_TOOLCHAIN_CTNG_glibc
+ BR2_TOOLCHAIN_CTNG_glibc || \
+ !BR2_TOOLCHAIN_CTNG_uClibc_NO_NPTL
endchoice
endif # BR2_TOOLCHAIN_CTNG
--
1.7.2.5
More information about the buildroot
mailing list