Add support for mips64le
This commit is contained in:
parent
e6a1422dd9
commit
1b6581761d
|
|
@ -16,6 +16,7 @@ RUN set -eux; \
|
|||
libc6-dev-armel-cross \
|
||||
libc6-dev-armhf-cross \
|
||||
libc6-dev-i386-cross \
|
||||
libc6-dev-mips64el-cross \
|
||||
libc6-dev-ppc64el-cross \
|
||||
libc6-dev-s390x-cross \
|
||||
\
|
||||
|
|
@ -23,6 +24,7 @@ RUN set -eux; \
|
|||
gcc-arm-linux-gnueabi \
|
||||
gcc-arm-linux-gnueabihf \
|
||||
gcc-i686-linux-gnu \
|
||||
gcc-mips64el-linux-gnuabi64 \
|
||||
gcc-powerpc64le-linux-gnu \
|
||||
gcc-s390x-linux-gnu \
|
||||
\
|
||||
|
|
@ -74,6 +76,11 @@ RUN set -ex; \
|
|||
TARGET_ARCH='i386' \
|
||||
CROSS_COMPILE='i686-linux-gnu-'
|
||||
|
||||
RUN set -ex; \
|
||||
make clean all \
|
||||
TARGET_ARCH='mips64le' \
|
||||
CROSS_COMPILE='mips64el-linux-gnuabi64-'
|
||||
|
||||
RUN set -ex; \
|
||||
make clean all \
|
||||
TARGET_ARCH='ppc64le' \
|
||||
|
|
|
|||
|
|
@ -0,0 +1,3 @@
|
|||
FROM scratch
|
||||
COPY hello /
|
||||
CMD ["/hello"]
|
||||
Binary file not shown.
Loading…
Reference in New Issue