libc/uClibc: fix munging .config for LT old/new
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Jul 02 22:11:45 2010 +0200 (2010-07-02)
changeset 2007de03369df50d
parent 2006 f15068f8ae3b
child 2008 b13d0db6fa95
libc/uClibc: fix munging .config for LT old/new
scripts/build/libc/uClibc.sh
     1.1 --- a/scripts/build/libc/uClibc.sh	Sat Jul 03 14:51:02 2010 +0200
     1.2 +++ b/scripts/build/libc/uClibc.sh	Fri Jul 02 22:11:45 2010 +0200
     1.3 @@ -333,26 +333,23 @@
     1.4      case "${CT_THREADS}:${CT_LIBC_UCLIBC_LNXTHRD}" in
     1.5          none:*)
     1.6              cat <<-ENDSED
     1.7 -				s/^# HAS_NO_THREADS is not set/HAS_NO_THREADS=y/
     1.8  				s/^UCLIBC_HAS_THREADS=y/# UCLIBC_HAS_THREADS is not set/
     1.9  				s/^LINUXTHREADS_OLD=y/# LINUXTHREADS_OLD is not set/
    1.10  				s/^LINUXTHREADS_NEW=y/# LINUXTHREADS_NEW is not set/
    1.11  				ENDSED
    1.12              ;;
    1.13 -        *:old)
    1.14 +        linuxthreads:old)
    1.15              cat <<-ENDSED
    1.16 -				s/^HAS_NO_THREADS=y/# HAS_NO_THREADS is not set/
    1.17  				s/^# UCLIBC_HAS_THREADS is not set/UCLIBC_HAS_THREADS=y/
    1.18 -				s/^# LINUXTHREADS_OLD is not set/# LINUXTHREADS_OLD=y/
    1.19 +				s/^# LINUXTHREADS_OLD is not set/LINUXTHREADS_OLD=y/
    1.20  				s/^LINUXTHREADS_NEW=y/# LINUXTHREADS_NEW is not set/
    1.21  				ENDSED
    1.22              ;;
    1.23 -        *:new)
    1.24 +        linuxthreads:new)
    1.25              cat <<-ENDSED
    1.26 -				s/^# HAS_NO_THREADS is not set/HAS_NO_THREADS=y/
    1.27  				s/^# UCLIBC_HAS_THREADS is not set/UCLIBC_HAS_THREADS=y/
    1.28  				s/^LINUXTHREADS_OLD=y/# LINUXTHREADS_OLD is not set/
    1.29 -				s/^# LINUXTHREADS_NEW is not set/# LINUXTHREADS_NEW=y/
    1.30 +				s/^# LINUXTHREADS_NEW is not set/LINUXTHREADS_NEW=y/
    1.31  				ENDSED
    1.32              ;;
    1.33      esac