From ca5003cbe65263d205155d74dfe3ece34b13e113 Mon Sep 17 00:00:00 2001 From: Cristoforo Cataldo Date: Tue, 6 Jan 2015 23:15:05 +0100 Subject: binutils: Add Linaro Binutils 2.25-2015.01 and 2.24-2014.11 This commit allows to choose, download and build latest Linaro Binutils: - binutils-linaro-2.25.0-2015.01-2 - binutils-linaro-2.24.0-2014.11-2 Signed-off-by: Cristoforo Cataldo --- scripts/build/binutils/binutils.sh | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'scripts/build') diff --git a/scripts/build/binutils/binutils.sh b/scripts/build/binutils/binutils.sh index 1cc8739e..813d3ceb 100644 --- a/scripts/build/binutils/binutils.sh +++ b/scripts/build/binutils/binutils.sh @@ -8,9 +8,16 @@ do_binutils_get() { CT_GetCustom "binutils" "${CT_BINUTILS_VERSION}" \ "${CT_BINUTILS_CUSTOM_LOCATION}" else - CT_GetFile "binutils-${CT_BINUTILS_VERSION}" \ - ftp://{sourceware.org,gcc.gnu.org}/pub/binutils/{releases,snapshots} \ - {ftp,http}://{ftp.gnu.org/gnu,ftp.kernel.org/pub/linux/devel}/binutils + if echo ${CT_BINUTILS_VERSION} |grep -q linaro; then + YYMM=`echo ${CT_BINUTILS_VERSION} |cut -d- -f3 |${sed} -e 's,^..,,'` + CT_GetFile "binutils-${CT_BINUTILS_VERSION}" \ + https://releases.linaro.org/${YYMM}/components/toolchain/binutils-linaro \ + http://cbuild.validation.linaro.org/snapshots + else + CT_GetFile "binutils-${CT_BINUTILS_VERSION}" \ + ftp://{sourceware.org,gcc.gnu.org}/pub/binutils/{releases,snapshots} \ + {ftp,http}://{ftp.gnu.org/gnu,ftp.kernel.org/pub/linux/devel}/binutils + fi fi if [ -n "${CT_ARCH_BINFMT_FLAT}" ]; then -- cgit v1.2.3 From d90bd6f13fa1b657f502e0a086c3ca4831af38ea Mon Sep 17 00:00:00 2001 From: Cristoforo Cataldo Date: Tue, 6 Jan 2015 23:21:28 +0100 Subject: gcc: Add Linaro GCC 4.9-2015.01 and GCC 4.8-2014.11 This commit allows to choose, download and build latest Linaro GCC: - gcc-linaro-4.9-2015.01 - gcc-linaro-4.8-2014.11 Signed-off-by: Cristoforo Cataldo --- config/cc/gcc.in | 11 +++++++++-- scripts/build/cc/gcc.sh | 25 +++++++++++++------------ 2 files changed, 22 insertions(+), 14 deletions(-) (limited to 'scripts/build') diff --git a/config/cc/gcc.in b/config/cc/gcc.in index 95abde6d..65ecd94d 100644 --- a/config/cc/gcc.in +++ b/config/cc/gcc.in @@ -36,6 +36,12 @@ choice # Don't remove next line # CT_INSERT_VERSION_BELOW +config CC_V_linaro_4_9 + bool + prompt "linaro-4.9-2015.01" + depends on CC_GCC_SHOW_LINARO + select CC_GCC_4_9 + config CC_V_4_9_2 bool prompt "4.9.2" @@ -53,7 +59,7 @@ config CC_V_4_9_0 config CC_V_linaro_4_8 bool - prompt "linaro-4.8-2014.04" + prompt "linaro-4.8-2014.11" depends on CC_GCC_SHOW_LINARO select CC_GCC_4_8 @@ -502,10 +508,11 @@ config CC_VERSION string # Don't remove next line # CT_INSERT_VERSION_STRING_BELOW + default "linaro-4.9-2015.01" if CC_V_linaro_4_9 default "4.9.2" if CC_V_4_9_2 default "4.9.1" if CC_V_4_9_1 default "4.9.0" if CC_V_4_9_0 - default "linaro-4.8-2014.04" if CC_V_linaro_4_8 + default "linaro-4.8-2014.11" if CC_V_linaro_4_8 default "4.8.4" if CC_V_4_8_4 default "4.8.3" if CC_V_4_8_3 default "4.8.2" if CC_V_4_8_2 diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh index 40241c23..ed78aa15 100644 --- a/scripts/build/cc/gcc.sh +++ b/scripts/build/cc/gcc.sh @@ -6,30 +6,31 @@ 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}" else # Account for the Linaro versioning linaro_version="$( echo "${CT_CC_VERSION}" \ - |sed -r -e 's/^linaro-//;' \ + |${sed} -r -e 's/^linaro-//;' \ )" linaro_series="$( echo "${linaro_version}" \ - |sed -r -e 's/-.*//;' \ + |${sed} -r -e 's/-.*//;' \ )" - # The official gcc hosts put gcc under a gcc/release/ directory, - # whereas the mirrors put it in the gcc/ directory. - # Also, Split out linaro mirrors, so that downloads happen faster. - CT_DoLog EXTRA "linaro_version: ${linaro_version} CT_CC_VERSION: ${CT_CC_VERSION}" + # The official gcc hosts put gcc under a gcc/release/ directory, + # whereas the mirrors put it in the gcc/ directory. + # Also, Split out linaro mirrors, so that downloads happen faster. if [ x"${linaro_version}" = x"${CT_CC_VERSION}" ]; then - CT_GetFile "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} + CT_GetFile "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} else - CT_GetFile "gcc-${CT_CC_VERSION}" \ - "${linaro_base_url}/${linaro_series}/${linaro_version}/+download" + YYMM=`echo ${CT_CC_VERSION} |cut -d- -f3 |${sed} -e 's,^..,,'` + CT_GetFile "gcc-${CT_CC_VERSION}" \ + "http://launchpad.net/gcc-linaro/${linaro_series}/${linaro_version}/+download" \ + https://releases.linaro.org/${YYMM}/components/toolchain/gcc-linaro/${linaro_series} \ + http://cbuild.validation.linaro.org/snapshots fi fi # ! custom location -- cgit v1.2.3 From 017d2d014e35bbab346b10e50d6d98222ba2aa1a Mon Sep 17 00:00:00 2001 From: Cristoforo Cataldo Date: Tue, 6 Jan 2015 23:27:39 +0100 Subject: debug: gdb: Add Linaro GDB 7.8-2014.09 and Linaro GDB 7.6.1-2013.10 This commit allows to choose, download and build latest Linaro GDB: - gdb-linaro-7.8-2014.09 - gdb-linaro-7.6.1-2013.10 Signed-off-by: Cristoforo Cataldo --- config/debug/gdb.in | 37 ++++++++++++++++++++++--------------- scripts/build/debug/300-gdb.sh | 30 ++++++++++++++++-------------- 2 files changed, 38 insertions(+), 29 deletions(-) (limited to 'scripts/build') diff --git a/config/debug/gdb.in b/config/debug/gdb.in index bf0925dc..9ca84f55 100644 --- a/config/debug/gdb.in +++ b/config/debug/gdb.in @@ -33,6 +33,12 @@ choice # Don't remove next line # CT_INSERT_VERSION_BELOW +config GDB_V_linaro_7_8 + bool + prompt "linaro-7.8-2014.09" + depends on DEBUG_GDB_SHOW_LINARO + select GDB_7_2_or_later + config GDB_V_7_8_1 bool prompt "7.8.1" @@ -53,14 +59,20 @@ config GDB_V_7_7 prompt "7.7" select GDB_7_2_or_later +config GDB_V_linaro_7_6 + bool + prompt "linaro-7.6.1-2013.10" + depends on DEBUG_GDB_SHOW_LINARO + select GDB_7_2_or_later + config GDB_V_7_6_1 bool prompt "7.6.1" select GDB_7_2_or_later -config GDB_V_linaro_7_6_2013_05 +config GDB_V_linaro_7_5 bool - prompt "linaro-7.6-2013.05" + prompt "linaro-7.5-2012.12-1" depends on DEBUG_GDB_SHOW_LINARO select GDB_7_2_or_later @@ -69,13 +81,7 @@ config GDB_V_7_5_1 prompt "7.5.1" select GDB_7_2_or_later -config GDB_V_linaro_7_5_2012_12_1 - bool - prompt "linaro-7.5-2012.12-1" - depends on DEBUG_GDB_SHOW_LINARO - select GDB_7_2_or_later - -config GDB_V_linaro_7_4_2012_06 +config GDB_V_linaro_7_4 bool prompt "linaro-7.4-2012.06" depends on DEBUG_GDB_SHOW_LINARO @@ -91,7 +97,7 @@ config GDB_V_7_4 prompt "7.4" select GDB_7_2_or_later -config GDB_V_linaro_7_3_2011_12 +config GDB_V_linaro_7_3 bool prompt "linaro-7.3-2011.12" depends on DEBUG_GDB_SHOW_LINARO @@ -107,7 +113,7 @@ config GDB_V_7_3a prompt "7.3a" select GDB_7_2_or_later -config GDB_V_linaro_7_2_2011_05_0 +config GDB_V_linaro_7_2 bool prompt "linaro-7.2-2011.05-0" depends on DEBUG_GDB_SHOW_LINARO @@ -168,18 +174,19 @@ config GDB_VERSION string # Don't remove next line # CT_INSERT_VERSION_STRING_BELOW + default "linaro-7.8-2014.09" if GDB_V_linaro_7_8 default "7.8.1" if GDB_V_7_8_1 default "7.8" if GDB_V_7_8 default "7.7.1" if GDB_V_7_7_1 default "7.7" if GDB_V_7_7 + default "linaro-7.6.1-2013.10" if GDB_V_linaro_7_6 default "7.6.1" if GDB_V_7_6_1 - default "linaro-7.6-2013.05" if GDB_V_linaro_7_6_2013_05 + default "linaro-7.5-2012.12-1" if GDB_V_linaro_7_5 default "7.5.1" if GDB_V_7_5_1 - default "linaro-7.5-2012.12-1" if GDB_V_linaro_7_5_2012_12_1 - default "linaro-7.4-2012.06" if GDB_V_linaro_7_4_2012_06 + default "linaro-7.4-2012.06" if GDB_V_linaro_7_4 default "7.4.1" if GDB_V_7_4_1 default "7.4" if GDB_V_7_4 - default "linaro-7.3-2011.12" if GDB_V_linaro_7_3_2011_12 + default "linaro-7.3-2011.12" if GDB_V_linaro_7_3 default "7.3.1" if GDB_V_7_3_1 default "7.3a" if GDB_V_7_3a default "linaro-7.2-2011.05-0" if GDB_V_linaro_7_2_2011_05_0 diff --git a/scripts/build/debug/300-gdb.sh b/scripts/build/debug/300-gdb.sh index 149a2f82..8fed3d0b 100644 --- a/scripts/build/debug/300-gdb.sh +++ b/scripts/build/debug/300-gdb.sh @@ -35,15 +35,6 @@ do_debug_gdb_parts() { do_debug_gdb_get() { local linaro_version="" local linaro_series="" - local linaro_base_url="http://launchpad.net/gdb-linaro" - - # Account for the Linaro versioning - linaro_version="$( echo "${CT_GDB_VERSION}" \ - |sed -r -e 's/^linaro-//;' \ - )" - linaro_series="$( echo "${linaro_version}" \ - |sed -r -e 's/-.*//;' \ - )" do_debug_gdb_parts @@ -51,13 +42,24 @@ do_debug_gdb_get() { if [ "${CT_GDB_CUSTOM}" = "y" ]; then CT_GetCustom "gdb" "${CT_GDB_VERSION}" "${CT_GDB_CUSTOM_LOCATION}" else + # Account for the Linaro versioning + linaro_version="$( echo "${CT_GDB_VERSION}" \ + |${sed} -r -e 's/^linaro-//;' \ + )" + linaro_series="$( echo "${linaro_version}" \ + |${sed} -r -e 's/-.*//;' \ + )" + if [ x"${linaro_version}" = x"${CT_GDB_VERSION}" ]; then - CT_GetFile "gdb-${CT_GDB_VERSION}" \ - ftp://{sourceware.org,gcc.gnu.org}/pub/gdb/releases \ - {http,ftp,https}://ftp.gnu.org/pub/gnu/gdb + CT_GetFile "gdb-${CT_GDB_VERSION}" \ + ftp://{sourceware.org,gcc.gnu.org}/pub/gdb/releases \ + {http,ftp,https}://ftp.gnu.org/pub/gnu/gdb else - CT_GetFile "gdb-${CT_GDB_VERSION}" \ - "${linaro_base_url}/${linaro_series}/${linaro_version}/+download" + YYMM=`echo ${CT_GDB_VERSION} |cut -d- -f3 |${sed} -e 's,^..,,'` + CT_GetFile "gdb-${CT_GDB_VERSION}" \ + "http://launchpad.net/gdb-linaro/${linaro_series}/${linaro_version}/+download" \ + https://releases.linaro.org/${YYMM}/components/toolchain/gdb-linaro \ + http://cbuild.validation.linaro.org/snapshots fi fi fi -- cgit v1.2.3 From 4170d1ed701bff148f1a274fdc69a8ed1275941e Mon Sep 17 00:00:00 2001 From: Cristoforo Cataldo Date: Tue, 6 Jan 2015 23:34:28 +0100 Subject: 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 --- config/libc/eglibc.in | 6 ++++++ scripts/build/libc/eglibc.sh | 9 +++++++++ 2 files changed, 15 insertions(+) (limited to 'scripts/build') diff --git a/config/libc/eglibc.in b/config/libc/eglibc.in index 8504cbf3..d1ecd0fd 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 1f1095fa..704ef7c8 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 -- cgit v1.2.3 From 315f69271ccacb1007ad16d9e641978d228b6d89 Mon Sep 17 00:00:00 2001 From: Cristoforo Cataldo Date: Tue, 6 Jan 2015 23:35:33 +0100 Subject: libc: glibc: Add Linaro GLibc 2.20-2014.11 This commit allows to choose, download and build latest Linaro GLibC: - glibc-linaro-2.20-2014.11 Signed-off-by: Cristoforo Cataldo --- config/libc/glibc.in | 6 ++++++ scripts/build/libc/glibc.sh | 14 +++++++++++--- 2 files changed, 17 insertions(+), 3 deletions(-) (limited to 'scripts/build') diff --git a/config/libc/glibc.in b/config/libc/glibc.in index f107438f..42575f72 100644 --- a/config/libc/glibc.in +++ b/config/libc/glibc.in @@ -17,6 +17,11 @@ choice # Don't remove next line # CT_INSERT_VERSION_BELOW +config LIBC_GLIBC_LINARO_V_2_20 + bool + prompt "Linaro 2.20-2014.11" + select LIBC_GLIBC_2_20_or_later + config LIBC_GLIBC_V_2_20 bool prompt "2.20" @@ -126,6 +131,7 @@ config LIBC_VERSION string # Don't remove next line # CT_INSERT_VERSION_STRING_BELOW + default "linaro-2.20-2014.11" if LIBC_GLIBC_LINARO_V_2_20 default "2.20" if LIBC_GLIBC_V_2_20 default "2.19" if LIBC_GLIBC_V_2_19 default "2.18" if LIBC_GLIBC_V_2_18 diff --git a/scripts/build/libc/glibc.sh b/scripts/build/libc/glibc.sh index 8093d94c..971d3260 100644 --- a/scripts/build/libc/glibc.sh +++ b/scripts/build/libc/glibc.sh @@ -23,9 +23,17 @@ do_libc_get() { CT_GetCustom "glibc" "${CT_LIBC_VERSION}" "${CT_LIBC_GLIBC_CUSTOM_LOCATION}" CT_LIBC_CUSTOM_LOCATION="${CT_SRC_DIR}/glibc-${CT_LIBC_VERSION}" else - CT_GetFile "glibc-${CT_LIBC_VERSION}" \ - {http,ftp,https}://ftp.gnu.org/gnu/glibc \ - ftp://{sourceware.org,gcc.gnu.org}/pub/glibc/{releases,snapshots} + 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 "glibc-${CT_LIBC_VERSION}" \ + https://releases.linaro.org/${YYMM}/components/toolchain/glibc-linaro \ + http://cbuild.validation.linaro.org/snapshots + else + CT_GetFile "glibc-${CT_LIBC_VERSION}" \ + {http,ftp,https}://ftp.gnu.org/gnu/glibc \ + ftp://{sourceware.org,gcc.gnu.org}/pub/glibc/{releases,snapshots} + fi fi # C library addons -- cgit v1.2.3 From 01397b7e5a3b0633c0a8cd9e75e9b84441b414a8 Mon Sep 17 00:00:00 2001 From: Cristoforo Cataldo Date: Tue, 6 Jan 2015 23:39:49 +0100 Subject: libc: newlib: Add NewLib 2.2.0, Linaro NewLib 2.2.0-2015.01 and 2.1.0-2014.09 This commit allows to choose, download and build latest NewLib: - newlib-2.2.0 - newlib-linaro-2.2.0-2015.01 - newlib-linaro-2.1.0-2014.09 Signed-off-by: Cristoforo Cataldo --- config/libc/newlib.in | 21 +++++++++++++++++---- scripts/build/libc/newlib.sh | 11 +++++++++-- 2 files changed, 26 insertions(+), 6 deletions(-) (limited to 'scripts/build') diff --git a/config/libc/newlib.in b/config/libc/newlib.in index fe21a701..8109354c 100644 --- a/config/libc/newlib.in +++ b/config/libc/newlib.in @@ -19,15 +19,25 @@ choice # Don't remove next line # CT_INSERT_VERSION_BELOW +config LIBC_NEWLIB_LINARO_V_2_2_0 + bool + prompt "Linaro 2.2.0-2015.01" + +config LIBC_NEWLIB_V_2_2_0 + bool + prompt "2.2.0" + +config LIBC_NEWLIB_LINARO_V_2_1_0 + bool + prompt "Linaro 2.1.0-2014.09" + config LIBC_NEWLIB_V_2_1_0 bool - prompt "2.1.0 (EXPERIMENTAL)" - depends on EXPERIMENTAL + prompt "2.1.0" config LIBC_NEWLIB_V_2_0_0 bool - prompt "2.0.0 (EXPERIMENTAL)" - depends on EXPERIMENTAL + prompt "2.0.0" config LIBC_NEWLIB_V_1_20_0 bool @@ -68,6 +78,9 @@ config LIBC_VERSION string # Don't remove next line # CT_INSERT_VERSION_STRING_BELOW + default "linaro-2.2.0-2015.01" if LIBC_NEWLIB_LINARO_V_2_2_0 + default "2.2.0" if LIBC_NEWLIB_V_2_2_0 + default "linaro-2.1.0-2014.09" if LIBC_NEWLIB_LINARO_V_2_1_0 default "2.1.0" if LIBC_NEWLIB_V_2_1_0 default "2.0.0" if LIBC_NEWLIB_V_2_0_0 default "1.20.0" if LIBC_NEWLIB_V_1_20_0 diff --git a/scripts/build/libc/newlib.sh b/scripts/build/libc/newlib.sh index 74785a62..9d42035e 100644 --- a/scripts/build/libc/newlib.sh +++ b/scripts/build/libc/newlib.sh @@ -16,8 +16,15 @@ do_libc_get() { CT_GetCustom "newlib" "${CT_LIBC_VERSION}" \ "${CT_LIBC_NEWLIB_CUSTOM_LOCATION}" else # ! custom location - CT_GetFile "newlib-${CT_LIBC_VERSION}" ${libc_src} \ - http://mirrors.kernel.org/sources.redhat.com/newlib + if echo ${CT_LIBC_VERSION} |grep -q linaro; then + YYMM=`echo ${CT_LIBC_VERSION} |cut -d- -f3 |${sed} -e 's,^..,,'` + CT_GetFile "newlib-${CT_LIBC_VERSION}" ${libc_src} \ + https://releases.linaro.org/${YYMM}/components/toolchain/newlib-linaro \ + http://cbuild.validation.linaro.org/snapshots + else + CT_GetFile "newlib-${CT_LIBC_VERSION}" ${libc_src} \ + http://mirrors.kernel.org/sources.redhat.com/newlib + fi fi # ! custom location if [ "${CT_ATMEL_AVR32_HEADERS}" = "y" ]; then -- cgit v1.2.3