From 3fafacd093dc78a5c328d86e719c388b7e5a062a Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Fri, 2 Jul 2010 22:11:45 +0200 Subject: libc/uClibc: fix munging .config for LT old/new diff --git a/scripts/build/libc/uClibc.sh b/scripts/build/libc/uClibc.sh index 8d58524..e10f3ec 100644 --- a/scripts/build/libc/uClibc.sh +++ b/scripts/build/libc/uClibc.sh @@ -333,26 +333,23 @@ mungeuClibcConfig() { 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 -- cgit v0.10.2-6-g49f6