mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-11-10 05:07:26 +01:00
commit
b949fdfb38
@ -16,14 +16,14 @@ RUN apt-get update && apt-get install -y \
|
|||||||
qemu-user \
|
qemu-user \
|
||||||
qemu-user-static
|
qemu-user-static
|
||||||
|
|
||||||
ENV CROSS_TRIPLE mips-linux-gnueabi
|
ENV CROSS_TRIPLE mipsel-linux-gnueabi
|
||||||
ENV CROSS_ROOT /usr/bin
|
ENV CROSS_ROOT /usr/bin
|
||||||
ENV AS=/usr/bin/${CROSS_TRIPLE}-as \
|
ENV AS=${CROSS_ROOT}/${CROSS_TRIPLE}-as \
|
||||||
AR=/usr/bin/${CROSS_TRIPLE}-ar \
|
AR=${CROSS_ROOT}/${CROSS_TRIPLE}-ar \
|
||||||
CC=/usr/bin/${CROSS_TRIPLE}-gcc \
|
CC=${CROSS_ROOT}/${CROSS_TRIPLE}-gcc \
|
||||||
CPP=/usr/bin/${CROSS_TRIPLE}-cpp \
|
CPP=${CROSS_ROOT}/${CROSS_TRIPLE}-cpp-4.9 \
|
||||||
CXX=/usr/bin/${CROSS_TRIPLE}-g++ \
|
CXX=${CROSS_ROOT}/${CROSS_TRIPLE}-g++ \
|
||||||
LD=/usr/bin/${CROSS_TRIPLE}-ld
|
LD=${CROSS_ROOT}/${CROSS_TRIPLE}-ld
|
||||||
|
|
||||||
ENV QEMU_LD_PREFIX ${CROSS_ROOT}/libc
|
ENV QEMU_LD_PREFIX ${CROSS_ROOT}/libc
|
||||||
ENV QEMU_SET_ENV "LD_LIBRARY_PATH=${CROSS_ROOT}/lib:${CROSS_ROOT}/libc/lib/${CROSS_TRIPLE}/"
|
ENV QEMU_SET_ENV "LD_LIBRARY_PATH=${CROSS_ROOT}/lib:${CROSS_ROOT}/libc/lib/${CROSS_TRIPLE}/"
|
||||||
|
Loading…
Reference in New Issue
Block a user