Skip to contentSkip to conversation

package/crosstool-ng: bump version to 1.15.2, update config files

PATCH New Yann E. MORIN 2 participants 5 messages May 8, 2012 – May 9, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 .../crosstool-ng-001-wget-instead-of-curl.patch    |   52 -------------
 package/crosstool-ng/crosstool-ng.mk               |    2 +-
 .../crosstool-ng.config-eglibc                     |   70 ++++++++++++------
 .../crosstool-ng.config-glibc                      |   75 +++++++++++++------
 .../crosstool-ng.config-uClibc                     |   78 +++++++++++++------
 5 files changed, 153 insertions(+), 124 deletions(-)
package/crosstool-ng/crosstool-ng-001-wget-instead-of-curl.patch deleted +0 -52
deleted file mode 100644
index d40f178..0000000
@@ -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 <[email protected]>
-
-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}"
package/crosstool-ng/crosstool-ng.mk +1 -1
index 217b2f5..3540f70 100644
@@ -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
toolchain/toolchain-crosstool-ng/crosstool-ng.config-eglibc +47 -23

151 lines not on this page · raw message

toolchain/toolchain-crosstool-ng/crosstool-ng.config-glibc +52 -23

156 lines not on this page · raw message

toolchain/toolchain-crosstool-ng/crosstool-ng.config-uClibc +53 -25

174 lines not on this page · raw message

Signature · 1 line
1.7.2.5
#1 lore raw

PATCH 1/1 package/crosstool-ng: bump version to 1.15.2, update config files

Peter, All,

Quoted 10 lines · On Wednesday 09 May 2012 01:01:21 Yann E. MORIN wrote:

Update the version of crosstool-Ng used, bump to 1.15.2. Also, update the bundled config files to match the new version.

---
 .../crosstool-ng-001-wget-instead-of-curl.patch    |   52 -------------
 package/crosstool-ng/crosstool-ng.mk               |    2 +-
 .../crosstool-ng.config-eglibc                     |   70 ++++++++++++------
 .../crosstool-ng.config-glibc                      |   75 +++++++++++++------
 .../crosstool-ng.config-uClibc                     |   78 +++++++++++++------

Dealing with the bundled config files is a pain, yes.

Thomas convinced me to add the 'savedefconfig' to crosstool-NG, and it will be available in the next release, so hopefully it will be easier to manage in the future. In the meantime, we have to suffer this limitation of using full .config files. Bah, ~220 lines changed in 3 files, that's not that bad...

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#2 lore raw

PATCH 1/1 package/crosstool-ng: bump version to 1.15.2, update config files

In reply to Yann E. MORIN
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yann" == Yann E MORIN <[email protected]> writes:

Yann> Update the version of crosstool-Ng used, bump to 1.15.2. Yann> Also, update the bundled config files to match the new version.

Committed, thanks. I had to fixup our ctng handling for changes in the copy_toolchain_lib_root_api by Thomas, but that's unrelated to this version bump.

I've also adjusted the default uClibc version/mode to match what we're using for the internal toolchain (0.9.33.1 / NPTL).

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw

PATCH 1/1 package/crosstool-ng: bump version to 1.15.2, update config files

Peter, Thomas, All,

Quoted 8 lines · On Wednesday 09 May 2012 11:19:34 Peter Korsgaard wrote:
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yann" == Yann E MORIN <[email protected]> writes:

Yann> Update the version of crosstool-Ng used, bump to 1.15.2. Yann> Also, update the bundled config files to match the new version.

Committed, thanks. I had to fixup our ctng handling for changes in the copy_toolchain_lib_root_api by Thomas, but that's unrelated to this version bump.

Was that related to the new sysroot-layout handling to cope with the Linaro toolchains?

Quoted 2 lines

I've also adjusted the default uClibc version/mode to match what we're using for the internal toolchain (0.9.33.1 / NPTL).

I pushed the new crosstool-NG version out so you could cut -rc1, and then I was about to upgrade the default versions set in the .configs.

You beat me to it! ;-)

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#4 lore raw

PATCH 1/1 package/crosstool-ng: bump version to 1.15.2, update config files

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yann" == Yann E MORIN <[email protected]> writes:

Hi,

Quoted 3 lines
Quoted 3 lines

Committed, thanks. I had to fixup our ctng handling for changes in the copy_toolchain_lib_root_api by Thomas, but that's unrelated to this version bump.

Yann> Was that related to the new sysroot-layout handling to cope with the Yann> Linaro toolchains?

That was one of the changes, yes. The other change was from back in December (!)

Quoted 2 lines
Quoted 2 lines

I've also adjusted the default uClibc version/mode to match what we're using for the internal toolchain (0.9.33.1 / NPTL).

Yann> I pushed the new crosstool-NG version out so you could cut -rc1, Yann> and then I was about to upgrade the default versions set in the Yann> .configs.

Yann> You beat me to it! ;-)

;)

Signature · 1 line
Bye, Peter Korsgaard