Skip to content

Commit f4f2d28

Browse files
committed
Added linux-armv7-softfp image
1 parent d75a8a2 commit f4f2d28

3 files changed

Lines changed: 24 additions & 0 deletions

File tree

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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 \

debian.Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
FROM 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+
37
RUN apt-get update && apt-get -y -f install \
48
bash \
59
curl wget \
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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

0 commit comments

Comments
 (0)