summaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/uClibc/Config.in5
-rw-r--r--toolchain/uClibc/uclibc.mk3
2 files changed, 8 insertions, 0 deletions
diff --git a/toolchain/uClibc/Config.in b/toolchain/uClibc/Config.in
index ce77ff76f..a034b2e1f 100644
--- a/toolchain/uClibc/Config.in
+++ b/toolchain/uClibc/Config.in
@@ -22,4 +22,9 @@ config BR2_ENABLE_LOCALE
help
Enable locale/gettext/i18n support?
+config BR2_PTHREADS_NATIVE
+ bool "Enable Native POSIX Threading (NPTL) support?"
+ default n
+ help
+ Enable Native POSIX Threading (NPTL) support?
diff --git a/toolchain/uClibc/uclibc.mk b/toolchain/uClibc/uclibc.mk
index db83e54e2..569a9e8b0 100644
--- a/toolchain/uClibc/uclibc.mk
+++ b/toolchain/uClibc/uclibc.mk
@@ -73,6 +73,9 @@ endif
ifeq ($(BR2_SOFT_FLOAT),y)
$(SED) 's,.*HAS_FPU.*,HAS_FPU=n\nUCLIBC_HAS_FLOATS=y\nUCLIBC_HAS_SOFT_FLOAT=y,g' $(UCLIBC_DIR)/.config
endif
+ifeq ($(BR2_PTHREADS_NATIVE),y)
+ $(SED) 's,# PTHREADS_NATIVE is not set,PTHREADS_NATIVE=y,g' $(UCLIBC_DIR)/.config
+endif
mkdir -p $(TOOL_BUILD_DIR)/uClibc_dev/usr/include
mkdir -p $(TOOL_BUILD_DIR)/uClibc_dev/usr/lib
mkdir -p $(TOOL_BUILD_DIR)/uClibc_dev/lib