# HG changeset patch # User "Yann E. MORIN" # Date 1278101505 -7200 # Node ID de03369df50d77a029db9ff794c4e6bb2c61f03c # Parent f15068f8ae3b9f292b3f9aa59f3b455819d1ae72 libc/uClibc: fix munging .config for LT old/new diff -r f15068f8ae3b -r de03369df50d scripts/build/libc/uClibc.sh --- a/scripts/build/libc/uClibc.sh Sat Jul 03 14:51:02 2010 +0200 +++ b/scripts/build/libc/uClibc.sh Fri Jul 02 22:11:45 2010 +0200 @@ -333,26 +333,23 @@ case "${CT_THREADS}:${CT_LIBC_UCLIBC_LNXTHRD}" in none:*) cat <<-ENDSED - s/^# HAS_NO_THREADS is not set/HAS_NO_THREADS=y/ s/^UCLIBC_HAS_THREADS=y/# UCLIBC_HAS_THREADS is not set/ s/^LINUXTHREADS_OLD=y/# LINUXTHREADS_OLD is not set/ s/^LINUXTHREADS_NEW=y/# LINUXTHREADS_NEW is not set/ ENDSED ;; - *:old) + linuxthreads:old) cat <<-ENDSED - s/^HAS_NO_THREADS=y/# HAS_NO_THREADS is not set/ s/^# UCLIBC_HAS_THREADS is not set/UCLIBC_HAS_THREADS=y/ - s/^# LINUXTHREADS_OLD is not set/# LINUXTHREADS_OLD=y/ + s/^# LINUXTHREADS_OLD is not set/LINUXTHREADS_OLD=y/ s/^LINUXTHREADS_NEW=y/# LINUXTHREADS_NEW is not set/ ENDSED ;; - *:new) + linuxthreads:new) cat <<-ENDSED - s/^# HAS_NO_THREADS is not set/HAS_NO_THREADS=y/ s/^# UCLIBC_HAS_THREADS is not set/UCLIBC_HAS_THREADS=y/ s/^LINUXTHREADS_OLD=y/# LINUXTHREADS_OLD is not set/ - s/^# LINUXTHREADS_NEW is not set/# LINUXTHREADS_NEW=y/ + s/^# LINUXTHREADS_NEW is not set/LINUXTHREADS_NEW=y/ ENDSED ;; esac