-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "linux-armv6: upgrade to Debian 11 (glibc 2.31)"
This reverts commit d8ce721.
- Loading branch information
Showing
4 changed files
with
19 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ | |
}, | ||
"type": "commonjs", | ||
"config": { | ||
"glibc": ">=2.31" | ||
"glibc": ">=2.28" | ||
}, | ||
"os": [ | ||
"linux" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
FROM debian:bullseye | ||
FROM debian:buster | ||
LABEL maintainer="Lovell Fuller <[email protected]>" | ||
|
||
# Create Debian 11 (glibc 2.31) container suitable for cross-compiling Linux ARMv6 binaries | ||
# Create Debian 10 (glibc 2.28) container suitable for cross-compiling Linux ARMv6 binaries | ||
|
||
# Path settings | ||
ENV \ | ||
RUSTUP_HOME="/usr/local/rustup" \ | ||
CARGO_HOME="/usr/local/cargo" \ | ||
PATH="/usr/local/cargo/bin:$PATH" | ||
PATH="/usr/local/cargo/bin:/root/tools/x64-gcc-6.5.0/arm-rpi-linux-gnueabihf/bin:$PATH" | ||
|
||
# Build dependencies | ||
RUN \ | ||
|
@@ -19,7 +19,6 @@ RUN \ | |
autoconf \ | ||
autopoint \ | ||
cmake \ | ||
crossbuild-essential-armhf \ | ||
gettext \ | ||
git \ | ||
gperf \ | ||
|
@@ -31,6 +30,8 @@ RUN \ | |
python3-packaging \ | ||
python3-pip \ | ||
&& \ | ||
mkdir /root/tools && \ | ||
curl -Ls https://github.com/rvagg/rpi-newer-crosstools/archive/master.tar.gz | tar xzC /root/tools --strip-components=1 && \ | ||
curl https://sh.rustup.rs -sSf | sh -s -- -y \ | ||
--no-modify-path \ | ||
--profile minimal \ | ||
|
@@ -43,7 +44,7 @@ RUN \ | |
ENV \ | ||
PKG_CONFIG="arm-linux-gnueabihf-pkg-config --static" \ | ||
PLATFORM="linux-armv6" \ | ||
CHOST="arm-linux-gnueabihf" \ | ||
CHOST="arm-rpi-linux-gnueabihf" \ | ||
RUST_TARGET="arm-unknown-linux-gnueabihf" \ | ||
FLAGS="-marm -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard" \ | ||
WITHOUT_NEON="true" \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters