svn commit: trunk/buildroot/toolchain: gcc uClibc
vapier at uclibc.org
vapier at uclibc.org
Sat Oct 1 00:36:40 UTC 2005
Author: vapier
Date: 2005-09-30 17:36:38 -0700 (Fri, 30 Sep 2005)
New Revision: 11717
Log:
control pthread support since some arches like x86_64 dont yet support it in uClibc
Modified:
trunk/buildroot/toolchain/Makefile.in
trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
trunk/buildroot/toolchain/uClibc/Config.in
Changeset:
Modified: trunk/buildroot/toolchain/Makefile.in
===================================================================
--- trunk/buildroot/toolchain/Makefile.in 2005-10-01 00:35:24 UTC (rev 11716)
+++ trunk/buildroot/toolchain/Makefile.in 2005-10-01 00:36:38 UTC (rev 11717)
@@ -1,3 +1,9 @@
+ifeq ($(BR2_PTHREADS),y)
+THREADS:=--enable-threads
+else
+THREADS:=--disable-threads
+endif
+
ifeq ($(BR2_ENABLE_MULTILIB),y)
MULTILIB:=--enable-multilib
else
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk 2005-10-01 00:35:24 UTC (rev 11716)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk 2005-10-01 00:36:38 UTC (rev 11717)
@@ -109,6 +109,7 @@
--enable-target-optspace \
--with-gnu-ld \
$(DISABLE_NLS) \
+ $(THREADS) \
$(MULTILIB) \
$(SOFT_FLOAT_CONFIG_OPTION) \
$(GCC_WITH_CPU) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
@@ -163,6 +164,7 @@
--enable-target-optspace \
--with-gnu-ld \
$(DISABLE_NLS) \
+ $(THREADS) \
$(MULTILIB) \
$(SOFT_FLOAT_CONFIG_OPTION) \
$(GCC_WITH_CPU) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
@@ -279,6 +281,7 @@
--enable-target-optspace \
--with-gnu-ld \
$(DISABLE_NLS) \
+ $(THREADS) \
$(MULTILIB) \
$(SOFT_FLOAT_CONFIG_OPTION) \
$(GCC_WITH_CPU) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) \
Modified: trunk/buildroot/toolchain/uClibc/Config.in
===================================================================
--- trunk/buildroot/toolchain/uClibc/Config.in 2005-10-01 00:35:24 UTC (rev 11716)
+++ trunk/buildroot/toolchain/uClibc/Config.in 2005-10-01 00:36:38 UTC (rev 11717)
@@ -22,9 +22,16 @@
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?
More information about the uClibc-cvs
mailing list