Improve install-crosstool-ng-toolchain.sh scripts

It is now possible to choose the version of crosstool-ng per image, To make it easier to upgrade crosstool-ng to newer versions without having to update all images at the same time

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
2021-06-23 14:53:33 +02:00
parent 9adf96c16b
commit 2082f62c76
9 changed files with 48 additions and 9 deletions

View File

@ -42,6 +42,7 @@ RUN mkdir /dockcross/crosstool \
&& /dockcross/install-crosstool-ng-toolchain.sh \
-p "${XCC_PREFIX}" \
-c /dockcross/crosstool-ng.config \
-v "${CT_VERSION}" \
&& rm -rf /dockcross/crosstool /dockcross/install-crosstool-ng-toolchain.sh
# Restore our default workdir (from "dockcross/base").