File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ PLATFORMS = \
1515 darwin-x86 \
1616 linux-armv6 \
1717 linux-armv7 \
18+ linux-armv7_softfp \
1819 linux-arm64 \
1920 linux-x64 \
2021 linux-x86 \
Original file line number Diff line number Diff line change 11FROM debian:stretch
22
3+ RUN sed -i -e 's/deb.debian.org/archive.debian.org/g' \
4+ -e 's|security.debian.org|archive.debian.org/|g' \
5+ -e '/stretch-updates/d' /etc/apt/sources.list
6+
37RUN apt-get update && apt-get -y -f install \
48 bash \
59 curl wget \
Original file line number Diff line number Diff line change 1+ FROM elementumorg/cross-compiler:base
2+
3+ RUN apt-get update && \
4+ apt-get -y install crossbuild-essential-armel
5+
6+ ENV CROSS_TRIPLE armv7-linux-gnueabi
7+ ENV CROSS_ROOT /usr/${CROSS_TRIPLE}
8+ ENV PATH ${PATH}:${CROSS_ROOT}/bin:${CROSS_ROOT}/go/bin
9+ ENV LD_LIBRARY_PATH ${CROSS_ROOT}/lib:${LD_LIBRARY_PATH}
10+ ENV PKG_CONFIG_PATH ${CROSS_ROOT}/lib/pkgconfig:${PKG_CONFIG_PATH}
11+
12+ RUN cd /usr/bin && \
13+ ln -s arm-linux-gnueabi-ar ${CROSS_TRIPLE}-ar && \
14+ ln -s arm-linux-gnueabi-gcc-6 ${CROSS_TRIPLE}-cc && \
15+ ln -s arm-linux-gnueabi-gcc-6 ${CROSS_TRIPLE}-gcc && \
16+ ln -s arm-linux-gnueabi-g++-6 ${CROSS_TRIPLE}-g++ && \
17+ ln -s arm-linux-gnueabi-g++-6 ${CROSS_TRIPLE}-c++ && \
18+ ln -s arm-linux-gnueabi-strip ${CROSS_TRIPLE}-strip && \
19+ ln -s arm-linux-gnueabi-ranlib ${CROSS_TRIPLE}-ranlib
You can’t perform that action at this time.
0 commit comments