libc/glibc: fix downloading addons
author"Yann E. MORIN" <yann.morin.1998@free.fr>
Mon Jan 06 20:05:14 2014 +0100 (2014-01-06)
changeset 3275eacd3115e674
parent 3274 baa61856643b
child 3276 22239d19ad65
libc/glibc: fix downloading addons

Do to glibc what we did to eglibc in #dff359adf15c.

Only (very) old versions of glibc have other external addons,
and they are no longer meaningful.

But for consistency, do the change nonetheless.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
scripts/build/libc/glibc.sh
     1.1 --- a/scripts/build/libc/glibc.sh	Sun Jan 05 19:25:54 2014 +0100
     1.2 +++ b/scripts/build/libc/glibc.sh	Mon Jan 06 20:05:14 2014 +0100
     1.3 @@ -32,9 +32,9 @@
     1.4              nptl)   continue;;
     1.5          esac
     1.6  
     1.7 -        case "${CT_LIBC_GLIBC_PORTS_EXTERNAL}" in
     1.8 -            y)   ;;
     1.9 -            *)   continue;;
    1.10 +        case "${addon}:${CT_LIBC_GLIBC_PORTS_EXTERNAL}" in
    1.11 +            ports:y)    ;;
    1.12 +            ports:*)    continue;;
    1.13          esac
    1.14  
    1.15          if ! CT_GetFile "glibc-${addon}-${CT_LIBC_VERSION}"     \