Skip to content

Commit b5bba43

Browse files
authored
Remove rust env from toolchain switch
1 parent 5c91fff commit b5bba43

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

toolchain/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,6 @@ export PKG_CONFIG_SYSROOT_DIR="/opt/x-tools/$NGCONFIG/$NGCONFIG/sysroot"
149149
export SYSROOT="/opt/x-tools/$NGCONFIG/$NGCONFIG/sysroot"
150150
export NGCONFIG="$NGCONFIG"
151151
export TARGET_PREFIX="$CHOST"
152-
export CARGO_BUILD_TARGET="armv7-unknown-linux-gnueabihf"
153152
EOF
154153

155154
RUN touch /opt/x-tools/switch-aarch64.sh && chmod +x /opt/x-tools/switch-aarch64.sh && cat <<EOF > /opt/x-tools/switch-aarch64.sh
@@ -162,7 +161,6 @@ export PKG_CONFIG_SYSROOT_DIR="/opt/x-tools/$NGCONFIG_AARCH64/$NGCONFIG_AARCH64/
162161
export SYSROOT="/opt/x-tools/$NGCONFIG_AARCH64/$NGCONFIG_AARCH64/sysroot"
163162
export NGCONFIG="$NGCONFIG_AARCH64"
164163
export TARGET_PREFIX="$CHOST_AARCH64"
165-
export CARGO_BUILD_TARGET="aarch64-unknown-linux-gnu"
166164
EOF
167165

168166
# Configure Opkg

0 commit comments

Comments
 (0)