summaryrefslogtreecommitdiff
path: root/scripts/build/libc/eglibc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/libc/eglibc.sh')
-rw-r--r--scripts/build/libc/eglibc.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/build/libc/eglibc.sh b/scripts/build/libc/eglibc.sh
index 1f1095f..704ef7c 100644
--- a/scripts/build/libc/eglibc.sh
+++ b/scripts/build/libc/eglibc.sh
@@ -16,6 +16,15 @@ do_libc_get() {
local -a extra_addons
local svn_base
+ 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 "eglibc-${CT_LIBC_VERSION}" \
+ https://releases.linaro.org/${YYMM}/components/toolchain/eglibc-linaro \
+ http://cbuild.validation.linaro.org/snapshots
+ return
+ fi
+
if [ "${CT_EGLIBC_HTTP}" = "y" ]; then
svn_base="http://www.eglibc.org/svn"
else