File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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-
154142RUN touch /opt/x-tools/switch-arm.sh && chmod +x /opt/x-tools/switch-arm.sh && cat <<EOF > /opt/x-tools/switch-arm.sh
155143export ARCH=arm
156144export CHOST="$CHOST"
You can’t perform that action at this time.
0 commit comments