mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-02 02:56:40 +00:00
gcc and gdb: fix fetching linaro builds (part three)
Yes, I missed the backslash which messed up the linaro stuff. The more I look at this code, I feel it needs to be refactored a bit. So I'll come back to this in the future and clean it up. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
This commit is contained in:
parent
1e17619b27
commit
91cf168d76
@ -22,10 +22,11 @@ do_cc_get() {
|
|||||||
# The official gcc hosts put gcc under a gcc/release/ directory,
|
# The official gcc hosts put gcc under a gcc/release/ directory,
|
||||||
# whereas the mirrors put it in the gcc/ directory.
|
# whereas the mirrors put it in the gcc/ directory.
|
||||||
# Also, Split out linaro mirrors, so that downloads happen faster.
|
# Also, Split out linaro mirrors, so that downloads happen faster.
|
||||||
|
CT_DoLog EXTRA "linaro_version: ${linaro_version} CT_CC_VERSION: ${CT_CC_VERSION}"
|
||||||
if [ x"${linaro_version}" = x"${CT_CC_VERSION}" ]; then
|
if [ x"${linaro_version}" = x"${CT_CC_VERSION}" ]; then
|
||||||
CT_GetFile "gcc-${CT_CC_VERSION}" \
|
CT_GetFile "gcc-${CT_CC_VERSION}" \
|
||||||
ftp://{gcc.gnu.org,sourceware.org}/pub/gcc/releases/gcc-${CT_CC_VERSION} \
|
ftp://{gcc.gnu.org,sourceware.org}/pub/gcc/releases/gcc-${CT_CC_VERSION} \
|
||||||
{http,ftp,https}://ftp.gnu.org/gnu/gcc/gcc-${CT_CC_VERSION} \
|
{http,ftp,https}://ftp.gnu.org/gnu/gcc/gcc-${CT_CC_VERSION}
|
||||||
else
|
else
|
||||||
CT_GetFile "gcc-${CT_CC_VERSION}" \
|
CT_GetFile "gcc-${CT_CC_VERSION}" \
|
||||||
"${linaro_base_url}/${linaro_series}/${linaro_version}/+download"
|
"${linaro_base_url}/${linaro_series}/${linaro_version}/+download"
|
||||||
|
@ -54,7 +54,7 @@ do_debug_gdb_get() {
|
|||||||
if [ x"${linaro_release}" = x"${CT_GDB_VERSION}" ]; then
|
if [ x"${linaro_release}" = x"${CT_GDB_VERSION}" ]; then
|
||||||
CT_GetFile "gdb-${CT_GDB_VERSION}" \
|
CT_GetFile "gdb-${CT_GDB_VERSION}" \
|
||||||
ftp://{sourceware.org,gcc.gnu.org}/pub/gdb/releases \
|
ftp://{sourceware.org,gcc.gnu.org}/pub/gdb/releases \
|
||||||
{http,ftp,https}://ftp.gnu.org/pub/gnu/gdb \
|
{http,ftp,https}://ftp.gnu.org/pub/gnu/gdb
|
||||||
else
|
else
|
||||||
CT_GetFile "gdb-${CT_GDB_VERSION}" \
|
CT_GetFile "gdb-${CT_GDB_VERSION}" \
|
||||||
"${linaro_base_url}/${linaro_series}/${linaro_version}/+download"
|
"${linaro_base_url}/${linaro_series}/${linaro_version}/+download"
|
||||||
|
Loading…
Reference in New Issue
Block a user