From c82c23bb1fa984fb4fb505ee4b920b8e98817bb9 Mon Sep 17 00:00:00 2001 From: Nathaniel van Diepen Date: Thu, 30 Oct 2025 21:06:30 -0600 Subject: [PATCH] Remove rust environment by default Switch scripts will be used instead. --- toolchain/Dockerfile | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/toolchain/Dockerfile b/toolchain/Dockerfile index db35a36..8f4cbda 100644 --- a/toolchain/Dockerfile +++ b/toolchain/Dockerfile @@ -139,18 +139,6 @@ RUN export DEBIAN_FRONTEND=noninteractive \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* /var/log/dpkg.log /var/log/apt -# Save to the environment values useful for setting up cross-compiling -ENV ARCH=arm \ - CHOST="$CHOST" \ - CROSS_COMPILE="$CHOST-" \ - PATH="$PATH:/opt/x-tools/$NGCONFIG/bin" \ - 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" \ - PKG_CONFIG_SYSROOT_DIR="/opt/x-tools/$NGCONFIG/$NGCONFIG/sysroot" \ - SYSROOT="/opt/x-tools/$NGCONFIG/$NGCONFIG/sysroot" \ - SYSROOT_AARCH64="/opt/x-tools/$NGCONFIG_AARCH64/$NGCONFIG_AARCH64/sysroot" \ - NGCONFIG="$NGCONFIG" \ - TARGET_PREFIX="$CHOST" - RUN touch /opt/x-tools/switch-arm.sh && chmod +x /opt/x-tools/switch-arm.sh && cat < /opt/x-tools/switch-arm.sh export ARCH=arm export CHOST="$CHOST"