summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2012-05-08 13:01:21 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-05-09 11:16:47 +0200
commitd06238d9b92a24a41185888ab4d700eaca5a137b (patch)
tree4b623931d4d35633282bdd8f3cd69f28dc6421c7 /package
parent03578ce8b64e6e052d7839063c32e51b96c13112 (diff)
package/crosstool-ng: bump version to 1.15.2, update config files
Update the version of crosstool-Ng used, bump to 1.15.2. Also, update the bundled config files to match the new version. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/crosstool-ng/crosstool-ng-001-wget-instead-of-curl.patch52
-rw-r--r--package/crosstool-ng/crosstool-ng.mk2
2 files changed, 1 insertions, 53 deletions
diff --git a/package/crosstool-ng/crosstool-ng-001-wget-instead-of-curl.patch b/package/crosstool-ng/crosstool-ng-001-wget-instead-of-curl.patch
deleted file mode 100644
index d40f178b8..000000000
--- a/package/crosstool-ng/crosstool-ng-001-wget-instead-of-curl.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-Use wget instead of curl
-
-While crosstool-NG did support either curl or wget in the past, it now
-only supports curl. Unfortunately, Buildroot uses wget for all its
-downloads, so wget is a hard dependency of Buildroot, while curl
-isn't.
-
-Instead of adding curl as a new Buildroot dependency, or building curl
-for the host, we simply tweak crosstool-NG to use wget instead of
-curl.
-
-The script/functions change has been provided by Yann E. Morin.
-
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-
-Index: crosstool-ng-1.13.0/configure
-===================================================================
---- crosstool-ng-1.13.0.orig/configure
-+++ crosstool-ng-1.13.0/configure
-@@ -496,7 +496,7 @@
- ver='\(GNU libtool.*\) (2[[:digit:]]*\.|1\.6[[:digit:]]*\.|1\.5\.[2-9][[:digit:]]+)' \
- err="'libtoolize' 1.5.26 or above was not found"
- has_or_abort prog=stat
--has_or_abort prog="curl"
-+has_or_abort prog="wget"
- has_or_abort prog=patch
- has_or_abort prog=tar
- has_or_abort prog=gzip
-Index: crosstool-ng-1.13.0/scripts/functions
-===================================================================
---- crosstool-ng-1.13.0.orig/scripts/functions
-+++ crosstool-ng-1.13.0/scripts/functions
-@@ -456,13 +456,12 @@
- # Some company networks have firewalls to connect to the internet, but it's
- # not easy to detect them, so force a global ${CT_CONNECT_TIMEOUT}-second
- # timeout.
-- # For curl, no good progress indicator is available. So, be silent.
-- if CT_DoExecLog ALL curl --ftp-pasv \
-- --retry 3 \
-- --connect-timeout ${CT_CONNECT_TIMEOUT} \
-- --location --fail --silent \
-- --output "${tmp}" \
-- "${url}"
-+ if CT_DoExecLog ALL wget --passive-ftp --tries=3 -nc \
-+ -T ${CT_CONNECT_TIMEOUT} \
-+ -O "${tmp}" \
-+ "${url}"
-+
-+
- then
- # Success, we got it, good!
- mv "${tmp}" "${dest}"
diff --git a/package/crosstool-ng/crosstool-ng.mk b/package/crosstool-ng/crosstool-ng.mk
index 217b2f51e..3540f70a1 100644
--- a/package/crosstool-ng/crosstool-ng.mk
+++ b/package/crosstool-ng/crosstool-ng.mk
@@ -1,4 +1,4 @@
-CROSSTOOL_NG_VERSION = 1.13.4
+CROSSTOOL_NG_VERSION = 1.15.2
CROSSTOOL_NG_SOURCE = crosstool-ng-$(CROSSTOOL_NG_VERSION).tar.bz2
CROSSTOOL_NG_SITE = http://crosstool-ng.org/download/crosstool-ng/
CROSSTOOL_NG_INSTALL_TARGET = NO