diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-09-12 02:37:29 +0200 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-09-12 02:37:29 +0200 |
commit | b8aa9402335eae6fa8a7fe1a3dbadd1dc50385a2 (patch) | |
tree | 90931d0db5521b426097fe8ab9e46c81a1a849c2 | |
parent | 706d02f52d71f251921bdb820c0cbba6f8d6d547 (diff) | |
download | crosstool-ng-b8aa9402335eae6fa8a7fe1a3dbadd1dc50385a2.tar.gz crosstool-ng-b8aa9402335eae6fa8a7fe1a3dbadd1dc50385a2.tar.bz2 crosstool-ng-b8aa9402335eae6fa8a7fe1a3dbadd1dc50385a2.zip |
libc/uClibc: enable NPTL choice for uClibc >= 0.9.32
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
-rw-r--r-- | config/libc/uClibc.in | 7 | ||||
-rwxr-xr-x | scripts/addToolVersion.sh | 7 |
2 files changed, 10 insertions, 4 deletions
diff --git a/config/libc/uClibc.in b/config/libc/uClibc.in index aa2068bd..5687eb83 100644 --- a/config/libc/uClibc.in +++ b/config/libc/uClibc.in @@ -19,7 +19,7 @@ choice config LIBC_UCLIBC_V_0_9_32 bool prompt "0.9.32" - select LIBC_UCLIBC_0_9_30_or_later + select LIBC_UCLIBC_0_9_32_or_later config LIBC_UCLIBC_V_0_9_31 bool @@ -91,6 +91,11 @@ config LIBC_VERSION default "0.9.28.3" if LIBC_UCLIBC_V_0_9_28_3 default "snapshot" if LIBC_UCLIBC_V_snapshot +config LIBC_UCLIBC_0_9_32_or_later + bool + select LIBC_SUPPORT_NPTL + select LIBC_UCLIBC_0_9_30_or_later + config LIBC_UCLIBC_0_9_30_or_later bool select LIBC_UCLIBC_PARALLEL diff --git a/scripts/addToolVersion.sh b/scripts/addToolVersion.sh index dbd1300e..870497b3 100755 --- a/scripts/addToolVersion.sh +++ b/scripts/addToolVersion.sh @@ -158,10 +158,11 @@ addToolVersion() { ver_M=$(getVersionField "${version}" . 1) ver_m=$(getVersionField "${version}" . 2) ver_p=$(getVersionField "${version}" . 3) - if [ ${ver_M} -ge 1 \ - -o ${ver_M} -eq 0 -a ${ver_m} -ge 10 \ - -o ${ver_M} -eq 0 -a ${ver_m} -eq 9 -a ${ver_p} -ge 30 ]; then + if [ ${ver_M} -eq 0 -a ${ver_m} -eq 9 -a ${ver_p} -eq 30 \ + -o ${ver_M} -eq 0 -a ${ver_m} -eq 9 -a ${ver_p} -eq 31 ]; then SedExpr1="${SedExpr1}\n select LIBC_UCLIBC_0_9_30_or_later" + elif [ ${ver_M} -eq 0 -a ${ver_m} -eq 9 -a ${ver_p} -eq 32 ]; then + SedExpr1="${SedExpr1}\n select LIBC_UCLIBC_0_9_32_or_later" fi ;; gdb) |