Skip to content

Commit 2b554b6

Browse files
authored
Remove rust environment by default (#47)
Switch scripts will be used instead.
1 parent fd4505d commit 2b554b6

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

toolchain/Dockerfile

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -139,18 +139,6 @@ RUN export DEBIAN_FRONTEND=noninteractive \
139139
&& apt-get clean \
140140
&& rm -rf /var/lib/apt/lists/* /var/log/dpkg.log /var/log/apt
141141

142-
# Save to the environment values useful for setting up cross-compiling
143-
ENV ARCH=arm \
144-
CHOST="$CHOST" \
145-
CROSS_COMPILE="$CHOST-" \
146-
PATH="$PATH:/opt/x-tools/$NGCONFIG/bin" \
147-
PKG_CONFIG_LIBDIR="/opt/x-tools/$NGCONFIG/$NGCONFIG/sysroot/usr/lib/pkgconfig:/opt/x-tools/$NGCONFIG/$NGCONFIG/sysroot/lib/pkgconfig:/opt/x-tools/$NGCONFIG/$NGCONFIG/sysroot/opt/lib/pkgconfig" \
148-
PKG_CONFIG_SYSROOT_DIR="/opt/x-tools/$NGCONFIG/$NGCONFIG/sysroot" \
149-
SYSROOT="/opt/x-tools/$NGCONFIG/$NGCONFIG/sysroot" \
150-
SYSROOT_AARCH64="/opt/x-tools/$NGCONFIG_AARCH64/$NGCONFIG_AARCH64/sysroot" \
151-
NGCONFIG="$NGCONFIG" \
152-
TARGET_PREFIX="$CHOST"
153-
154142
RUN touch /opt/x-tools/switch-arm.sh && chmod +x /opt/x-tools/switch-arm.sh && cat <<EOF > /opt/x-tools/switch-arm.sh
155143
export ARCH=arm
156144
export CHOST="$CHOST"

0 commit comments

Comments
 (0)