From 1ba78f57e1f6435661a188beed05dd671ee7015f Mon Sep 17 00:00:00 2001 From: "\"Steven J. Hill\"" Date: Fri, 29 Jul 2005 23:28:31 +0000 Subject: 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. --- toolchain/uClibc/Config.in | 5 +++++ toolchain/uClibc/uclibc.mk | 3 +++ 2 files changed, 8 insertions(+) (limited to 'toolchain') 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 @@ -72,6 +72,9 @@ endif $(SED) 's,.*UCLIBC_HAS_WCHAR.*,UCLIBC_HAS_WCHAR=y,g' $(UCLIBC_DIR)/.config 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 -- cgit v1.2.3