Browse Source

uclibc: added NPTL config option

Note:

NPTL support within uClibc is in a very early stage of development, thus
should be considered highly experimental!
user/amery/next/luajit
Christian Wiese 13 years ago
parent
commit
4bfc52114a
  1. 5
      base/uclibc/subconfig-libc-300.in
  2. 3
      base/uclibc/uclibc.conf

5
base/uclibc/subconfig-libc-300.in

@ -3,7 +3,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../uclibc/subconfig-libc-300.in
# Copyright (C) 2010 The OpenSDE Project
# Copyright (C) 2010 - 2011 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
@ -26,7 +26,8 @@ if [ "$SDECFG_LIBC" == "uclibc" ]; then
choice SDECFG_PKG_UCLIBC_THREADSUPPORT old \
none "disable thread support" \
old "use older version of linuxthreads (stable)" \
new "use slightly newer version of linuxthreads (not much tested)"
new "use slightly newer version of linuxthreads (not much tested)" \
nptl "Native POSIX Threading (NPTL) (experimental)"
comment ' '

3
base/uclibc/uclibc.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../uclibc/uclibc.conf
# Copyright (C) 2006 - 2010 The OpenSDE Project
# Copyright (C) 2006 - 2011 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
@ -61,6 +61,7 @@ default_config() {
case "$SDECFG_PKG_UCLIBC_THREADSUPPORT" in
old) echo "X LINUXTHREADS_OLD" ;;
new) echo "X LINUXTHREADS_NEW" ;;
nptl) echo "X UCLIBC_HAS_THREADS_NATIVE" ;;
esac
else
echo "X HAS_NO_THREADS"

Loading…
Cancel
Save