summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-07-29 23:28:31 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-07-29 23:28:31 +0000
commit1ba78f57e1f6435661a188beed05dd671ee7015f (patch)
tree4fc3f0b613da1020b851fca0cbe053fffa9e65ba /toolchain
parent2ade59720b7f3398a1c52e7b6746c5cb97b6ff20 (diff)
Add in options for NPTL in uClibc. Users can select, but since NPTL is
on a branch it will not have any effect. Updated DBAu1500 configuration files for latest uClibc snapshot and NPTL options.
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