Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions toolchain/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 <<EOF > /opt/x-tools/switch-arm.sh
export ARCH=arm
export CHOST="$CHOST"
Expand Down
Loading