mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-06-12 14:09:25 +02:00
Update crosstool-ng to 1.24, update arm64 and newer base image
This commit is contained in:
@ -10,7 +10,7 @@
|
||||
set -e
|
||||
set -o pipefail
|
||||
|
||||
PYTHON=python
|
||||
PYTHON=python3
|
||||
while [ $# -gt 0 ]; do
|
||||
case "$1" in
|
||||
-python)
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- crosstool-ng-crosstool-ng-1.23.0/scripts/build/companion_libs/210-expat.sh 2021-04-05 13:55:31.047130000 +0000
|
||||
+++ crosstool-ng-crosstool-ng-1.23.0/scripts/build/companion_libs/210-expat.sh.new 2021-04-05 13:57:13.841170000 +0000
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
do_expat_get() {
|
||||
CT_GetFile "expat-${CT_EXPAT_VERSION}" .tar.gz \
|
||||
- http://downloads.sourceforge.net/project/expat/expat/${CT_EXPAT_VERSION}
|
||||
+ https://github.com/libexpat/libexpat/releases/download/R_${CT_EXPAT_VERSION//./_}
|
||||
}
|
||||
|
||||
do_expat_extract() {
|
@ -57,11 +57,11 @@ mkdir -p "${CTNG}"
|
||||
cd "${CTNG}"
|
||||
|
||||
# Download and install the "crosstool-ng" source.
|
||||
REV=1.23.0
|
||||
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
|
||||
#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}"
|
||||
|
||||
# Bootstrap and install the tool.
|
||||
@ -71,7 +71,6 @@ BOOTSTRAP_PREFIX="${CTNG}/prefix"
|
||||
--prefix "${BOOTSTRAP_PREFIX}"
|
||||
make -j$(nproc)
|
||||
make install
|
||||
|
||||
##
|
||||
# Use "crosstool-ng" to build the toolchain.
|
||||
##
|
||||
|
@ -3,7 +3,7 @@
|
||||
set -e
|
||||
set -o pipefail
|
||||
|
||||
PYTHON=python
|
||||
PYTHON=python3
|
||||
while [ $# -gt 0 ]; do
|
||||
case "$1" in
|
||||
-python)
|
||||
@ -22,8 +22,8 @@ cd /tmp
|
||||
|
||||
# Todo: Need to update base image from Debian Stretch for the required Python
|
||||
# 3.6 or later
|
||||
# curl -# -LO https://bootstrap.pypa.io/pip/get-pip.py
|
||||
curl -# -LO https://bootstrap.pypa.io/pip/2.7/get-pip.py
|
||||
curl -# -LO https://bootstrap.pypa.io/pip/get-pip.py
|
||||
#curl -# -LO https://bootstrap.pypa.io/pip/2.7/get-pip.py
|
||||
${PYTHON} get-pip.py --ignore-installed
|
||||
rm get-pip.py
|
||||
|
||||
|
Reference in New Issue
Block a user