toolchain/crosstool-NG: misc fixes
cover toolchain/crosstool-NG: misc fixes
Hello!
This ensures coherency between the sysroot naming in the crosstool-NG configuration, and the place we search for libraries.
Also, bump the version, and use the new download location.
[PATCH 1/2] toolchain/crosstool-NG: fix sysroot name [PATCH 2/2] toolchain/crosstool-NG: bump version to 1.10.1
Regards,
Yann E. MORIN.
PATCH 1/2 toolchain/crosstool-NG: fix sysroot name
We have to ensure that the sysroot created while building the toolchain will be the one we later search for libraries. So:
- hide the sysroot name prompt from the ct-ng menu.
- force the sysroot name to be 'sysroot'.
--- .../002-no-sysroot-prompt-in-backend.patch | 12 ++++++++++++ toolchain/toolchain-crosstool-ng/crosstool-ng.mk | 1 + 2 files changed, 13 insertions(+), 0 deletions(-) create mode 100644 toolchain/toolchain-crosstool-ng/002-no-sysroot-prompt-in-backend.patch
toolchain/toolchain-crosstool-ng/002-no-sysroot-prompt-in-backend.patch new file +12 -0
@@ -0,0 +1,12 @@ +diff --git a/config/toolchain.in b/config/toolchain.in +--- a/config/toolchain.in ++++ b/config/toolchain.in +@@ -20,7 +20,7 @@ + + config SYSROOT_NAME + string +- prompt "sysroot directory name" ++ prompt "sysroot directory name" if ! BACKEND + depends on USE_SYSROOT + default "sysroot" + help
toolchain/toolchain-crosstool-ng/crosstool-ng.mk +1 -0
@@ -257,6 +257,7 @@ endif # And the specials for paths CTNG_FIX_DOT_CONFIG_PATHS_SED += s:^(CT_PREFIX_DIR)=.*:\1="$(HOST_DIR)/usr":; CTNG_FIX_DOT_CONFIG_PATHS_SED += s:^(CT_LOCAL_TARBALLS_DIR)=.*:\1="$(DL_DIR)":; +CTNG_FIX_DOT_CONFIG_PATHS_SED += s:^(CT_SYSROOT_NAME)=.*:\1="sysroot":; CTNG_FIX_DOT_CONFIG_PATHS_SED += s:^(CT_SYSROOT_DIR_PREFIX)=.*:\1="":; #--------------
Signature · 1 line
1.7.2.3
PATCH 2/2 toolchain/crosstool-NG: bump version to 1.10.1
In reply to Yann E. MORINAt the same time, also use the new upstream location.
--- toolchain/toolchain-crosstool-ng/crosstool-ng.mk | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
toolchain/toolchain-crosstool-ng/crosstool-ng.mk +2 -2
@@ -14,8 +14,8 @@ uclibc: dependencies $(STAMP_DIR)/ct-ng-toolchain-installed # Internal variables # Crostool-NG hard-coded configuration options -CTNG_VERSION:=1.10.0 -CTNG_SITE:=http://ymorin.is-a-geek.org/download/crosstool-ng/ +CTNG_VERSION:=1.10.1 +CTNG_SITE:=http://crosstool-ng.org/download/crosstool-ng/ CTNG_SOURCE:=crosstool-ng-$(CTNG_VERSION).tar.bz2 CTNG_DIR:=$(BUILD_DIR)/crosstool-ng-$(CTNG_VERSION) CTNG_CAT:=bzcat
Signature · 1 line
1.7.2.3
cover toolchain/crosstool-NG: misc fixes
In reply to Yann E. MORINQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Yann" == Yann E MORIN <[email protected]> writes:
Yann> Hello!
Yann> This ensures coherency between the sysroot naming in the crosstool-NG Yann> configuration, and the place we search for libraries.
Yann> Also, bump the version, and use the new download location.
Yann> [PATCH 1/2] toolchain/crosstool-NG: fix sysroot name Yann> [PATCH 2/2] toolchain/crosstool-NG: bump version to 1.10.1
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard