Update crosstool-ng to lastest version

This commit is contained in:
2021-05-13 12:08:38 +02:00
parent 08f480baa9
commit 5ed643c05c
41 changed files with 7999 additions and 1347 deletions

View File

@ -57,12 +57,20 @@ mkdir -p "${CTNG}"
cd "${CTNG}"
# Download and install the "crosstool-ng" source.
REV=1.24.0
curl -# -LO \
"https://github.com/crosstool-ng/crosstool-ng/archive/crosstool-ng-${REV}.tar.gz"
tar -xf "crosstool-ng-${REV}.tar.gz"
#REV=1.24.0
#curl -# -LO \
# "https://github.com/crosstool-ng/crosstool-ng/archive/crosstool-ng-${REV}.tar.gz"
#tar -xf "crosstool-ng-${REV}.tar.gz"
#patch crosstool-ng-crosstool-ng-1.23.0/scripts/build/companion_libs/210-expat.sh -i /dockcross/crosstool-ng-expat.patch
cd "crosstool-ng-crosstool-ng-${REV}"
#cd "crosstool-ng-crosstool-ng-${REV}"
# Download and install the "crosstool-ng" source.
# crosstool-ng master 2021-05-12
COMMIT=f9716e8b9042eb14de85320987300aab99300df5
git clone https://github.com/crosstool-ng/crosstool-ng.git
cd "crosstool-ng"
git checkout ${COMMIT}
# Bootstrap and install the tool.
BOOTSTRAP_PREFIX="${CTNG}/prefix"