+ifeq ($(BR2_PTHREADS),y)
+THREADS:=--enable-threads
+else
+THREADS:=--disable-threads
+endif
+
ifeq ($(BR2_ENABLE_MULTILIB),y)
MULTILIB:=--enable-multilib
else
--enable-target-optspace \
--with-gnu-ld \
$(DISABLE_NLS) \
+ $(THREADS) \
$(MULTILIB) \
$(SOFT_FLOAT_CONFIG_OPTION) \
$(GCC_WITH_CPU) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
--enable-target-optspace \
--with-gnu-ld \
$(DISABLE_NLS) \
+ $(THREADS) \
$(MULTILIB) \
$(SOFT_FLOAT_CONFIG_OPTION) \
$(GCC_WITH_CPU) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
--enable-target-optspace \
--with-gnu-ld \
$(DISABLE_NLS) \
+ $(THREADS) \
$(MULTILIB) \
$(SOFT_FLOAT_CONFIG_OPTION) \
$(GCC_WITH_CPU) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
help
Enable locale/gettext/i18n support?
+config BR2_PTHREADS
+ bool "Enable thread support"
+ default y
+ help
+ Enable support for libpthreads
+
config BR2_PTHREADS_NATIVE
bool "Enable Native POSIX Threading (NPTL) support?"
default n
+ depends on BR2_PTHREADS
help
Enable Native POSIX Threading (NPTL) support?