diff options
author | Cristoforo Cataldo <cristoforo.cataldo@gmail.com> | 2015-01-06 23:35:33 +0100 |
---|---|---|
committer | Cristoforo Cataldo <cristoforo.cataldo@gmail.com> | 2015-01-16 22:07:44 +0100 |
commit | 315f69271ccacb1007ad16d9e641978d228b6d89 (patch) | |
tree | 57b13ef95b9684ed030cf8989a0c974d3319a1c1 /scripts | |
parent | 4170d1ed701bff148f1a274fdc69a8ed1275941e (diff) | |
download | crosstool-ng-315f69271ccacb1007ad16d9e641978d228b6d89.tar.gz crosstool-ng-315f69271ccacb1007ad16d9e641978d228b6d89.tar.bz2 crosstool-ng-315f69271ccacb1007ad16d9e641978d228b6d89.zip |
libc: glibc: Add Linaro GLibc 2.20-2014.11
This commit allows to choose, download and build latest Linaro GLibC:
- glibc-linaro-2.20-2014.11
Signed-off-by: Cristoforo Cataldo <cristoforo.cataldo@gmail.com>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/build/libc/glibc.sh | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/scripts/build/libc/glibc.sh b/scripts/build/libc/glibc.sh index 8093d94c..971d3260 100644 --- a/scripts/build/libc/glibc.sh +++ b/scripts/build/libc/glibc.sh @@ -23,9 +23,17 @@ do_libc_get() { CT_GetCustom "glibc" "${CT_LIBC_VERSION}" "${CT_LIBC_GLIBC_CUSTOM_LOCATION}" CT_LIBC_CUSTOM_LOCATION="${CT_SRC_DIR}/glibc-${CT_LIBC_VERSION}" else - CT_GetFile "glibc-${CT_LIBC_VERSION}" \ - {http,ftp,https}://ftp.gnu.org/gnu/glibc \ - ftp://{sourceware.org,gcc.gnu.org}/pub/glibc/{releases,snapshots} + if echo ${CT_LIBC_VERSION} |grep -q linaro; then + # Linaro eglibc releases come from regular downloads... + YYMM=`echo ${CT_LIBC_VERSION} |cut -d- -f3 |${sed} -e 's,^..,,'` + CT_GetFile "glibc-${CT_LIBC_VERSION}" \ + https://releases.linaro.org/${YYMM}/components/toolchain/glibc-linaro \ + http://cbuild.validation.linaro.org/snapshots + else + CT_GetFile "glibc-${CT_LIBC_VERSION}" \ + {http,ftp,https}://ftp.gnu.org/gnu/glibc \ + ftp://{sourceware.org,gcc.gnu.org}/pub/glibc/{releases,snapshots} + fi fi # C library addons |