summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCristoforo Cataldo <cristoforo.cataldo@gmail.com>2015-01-06 22:34:28 (GMT)
committerCristoforo Cataldo <cristoforo.cataldo@gmail.com>2015-01-16 21:07:44 (GMT)
commit4170d1ed701bff148f1a274fdc69a8ed1275941e (patch)
tree498f4926640c1d08fd0ec62fccd681424ec28402
parent017d2d014e35bbab346b10e50d6d98222ba2aa1a (diff)
libc: eglibc: Add Linaro EGLibc 2.19-2014.08
This commit allows to choose, download and build latest Linaro EGLibC: - eglibc-linaro-2.19-2014.08 Signed-off-by: Cristoforo Cataldo <cristoforo.cataldo@gmail.com>
-rw-r--r--config/libc/eglibc.in6
-rw-r--r--scripts/build/libc/eglibc.sh9
2 files changed, 15 insertions, 0 deletions
diff --git a/config/libc/eglibc.in b/config/libc/eglibc.in
index 8504cbf..d1ecd0f 100644
--- a/config/libc/eglibc.in
+++ b/config/libc/eglibc.in
@@ -21,6 +21,11 @@ choice
# Don't remove next line
# CT_INSERT_VERSION_BELOW
+config LIBC_EGLIBC_LINARO_V_2_19
+ bool
+ prompt "Linaro 2.19-2014.08"
+ select LIBC_EGLIBC_2_16_or_later
+
config LIBC_EGLIBC_V_2_18
bool
prompt "2_18"
@@ -92,6 +97,7 @@ config LIBC_VERSION
string
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
+ default "linaro-2.19-2014.08" if LIBC_EGLIBC_LINARO_V_2_19
default "2_18" if LIBC_EGLIBC_V_2_18
default "2_17" if LIBC_EGLIBC_V_2_17
default "2_16" if LIBC_EGLIBC_V_2_16
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