diff options
author | Yann E. MORIN" <yann.morin.1998@free.fr> | 2012-10-30 00:30:47 +0100 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@free.fr> | 2012-10-30 00:30:47 +0100 |
commit | 8bcd5c689cba82ae6695b77b81dd51c53b0c2b41 (patch) | |
tree | ec7eb7e353cd28d8269d3543150c591e096f6eb2 /scripts/build/cc | |
parent | 79243c2f8df520a9e6743e224dbfe111a600c036 (diff) | |
download | crosstool-ng-8bcd5c689cba82ae6695b77b81dd51c53b0c2b41.tar.gz crosstool-ng-8bcd5c689cba82ae6695b77b81dd51c53b0c2b41.tar.bz2 crosstool-ng-8bcd5c689cba82ae6695b77b81dd51c53b0c2b41.zip |
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')
-rw-r--r-- | scripts/build/cc/gcc.sh | 28 |
1 files changed, 5 insertions, 23 deletions
diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh index 70f38a6f..03ffa3ad 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 |