summaryrefslogtreecommitdiff
path: root/scripts/build/cc/gcc.sh
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@free.fr>2012-10-29 23:30:47 (GMT)
committerYann E. MORIN" <yann.morin.1998@free.fr>2012-10-29 23:30:47 (GMT)
commit8bcd5c689cba82ae6695b77b81dd51c53b0c2b41 (patch)
treeec7eb7e353cd28d8269d3543150c591e096f6eb2 /scripts/build/cc/gcc.sh
parent79243c2f8df520a9e6743e224dbfe111a600c036 (diff)
cc/gcc: remove svn source
Since we now have the opportunity to use a custom local directory/tarball as the source for gcc, it no longer makes sense to retrieve gcc ourselves from its subversion repository. Cc: Bryan Hundven <bryanhundven@gmail.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Diffstat (limited to 'scripts/build/cc/gcc.sh')
-rw-r--r--scripts/build/cc/gcc.sh28
1 files changed, 5 insertions, 23 deletions
diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh
index 70f38a6..03ffa3a 100644
--- a/scripts/build/cc/gcc.sh
+++ b/scripts/build/cc/gcc.sh
@@ -4,31 +4,13 @@
# Download gcc
do_cc_get() {
+ local linaro_version
+ local linaro_series
+ local linaro_base_url="http://launchpad.net/gcc-linaro"
+
if [ "${CT_CC_CUSTOM}" = "y" ]; then
CT_GetCustom "gcc" "${CT_CC_VERSION}" "${CT_CC_CUSTOM_LOCATION}"
- elif [ -n "${CT_CC_V_SVN}" ]; then
- # Get gcc from SVN!
- local svn_base
-
- if [ "${CT_GCC_HTTP}" = "y" ]; then
- svn_base="http://gcc.gnu.org/svn/gcc"
- else
- svn_base="svn://gcc.gnu.org/svn/gcc"
- fi
-
- svn_base+="/${CT_GCC_BRANCH:-trunk}"
-
- CT_CC_VERSION="${CT_GCC_BRANCH//\//_}"
-
- CT_GetSVN "gcc-${CT_CC_VERSION}" \
- "${svn_base}/" \
- "${CT_GCC_REVISION:-HEAD}"
else
- local linaro_version
- local linaro_series
- local linaro_base_url="http://launchpad.net/gcc-linaro"
-
-
# Account for the Linaro versioning
linaro_version="$( echo "${CT_CC_VERSION}" \
|sed -r -e 's/^linaro-//;' \
@@ -48,7 +30,7 @@ do_cc_get() {
ftp://ftp.uvsq.fr/pub/gcc/snapshots/${CT_CC_VERSION} \
"${linaro_base_url}/${linaro_series}/${linaro_version}/+download"
- fi # -n ${CT_CC_V_SVN}
+ fi # ! custom location
# Starting with GCC 4.3, ecj is used for Java, and will only be
# built if the configure script finds ecj.jar at the top of the
# GCC source tree, which will not be there unless we get it and