@@ -114,6 +114,7 @@ choice
config BR2_PTHREADS_NATIVE
bool "Native POSIX Threading (NPTL)"
select BR2_TOOLCHAIN_HAS_THREADS
+ select BR2_TOOLCHAIN_HAS_THREADS_NATIVE
depends on !BR2_ARM_OABI
depends on !BR2_x86_i386
depends on !BR2_avr32
@@ -9,6 +9,7 @@ config BR2_TOOLCHAIN_USES_GLIBC
select BR2_ENABLE_LOCALE
select BR2_TOOLCHAIN_HAS_THREADS
select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
+ select BR2_TOOLCHAIN_HAS_THREADS_NATIVE
select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
config BR2_TOOLCHAIN_USES_UCLIBC
@@ -29,6 +29,9 @@ config BR2_TOOLCHAIN_HAS_THREADS
config BR2_TOOLCHAIN_HAS_THREADS_DEBUG
bool
+config BR2_TOOLCHAIN_HAS_THREADS_NATIVE
+ bool
+
config BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
bool
@@ -128,6 +128,7 @@ choice
bool "Native POSIX Threading (NPTL)"
select BR2_TOOLCHAIN_HAS_THREADS
select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
+ select BR2_TOOLCHAIN_HAS_THREADS_NATIVE
endchoice
endif # BR2_TOOLCHAIN_CTNG
@@ -899,6 +899,17 @@ config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG
debugging support. If you don't know, leave the default
value, Buildroot will tell you if it's correct or not.
+config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_NATIVE
+ bool "Toolchain has NPTL support?"
+ depends on BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
+ select BR2_TOOLCHAIN_HAS_THREADS_NATIVE
+ default y
+ help
+ Select this option if your external toolchain has native
+ POSIX thread library (NPTL) support. If you don't know,
+ leave the default value, Buildroot will tell you if it's
+ correct or not.
+
endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
config BR2_TOOLCHAIN_EXTERNAL_INET_RPC
This can be used to check dependencies for packages that need NPTL; furthermore it can be used to determine the number of stages required for building the toolchain. Signed-off-by: Mischa Jonker <mjonker@synopsys.com> --- package/uclibc/Config.in | 1 + toolchain/Config.in | 1 + toolchain/toolchain-common.in | 3 +++ toolchain/toolchain-crosstool-ng/Config.in | 1 + toolchain/toolchain-external/Config.in | 11 +++++++++++ 5 files changed, 17 insertions(+)