mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-04-06 22:09:16 +02:00
android-arm: Add standard toolchain environmental variables.
This commit is contained in:
parent
609605b1c5
commit
f9f7f1b387
@ -6,8 +6,14 @@ RUN apt-get update && apt-get install -y \
|
|||||||
qemu-user \
|
qemu-user \
|
||||||
qemu-user-static
|
qemu-user-static
|
||||||
|
|
||||||
ENV CROSS_TRIPLE arm-linux-androideabi
|
ENV CROSS_TRIPLE=arm-linux-androideabi
|
||||||
ENV CROSS_ROOT /usr/${CROSS_TRIPLE}
|
ENV CROSS_ROOT=/usr/${CROSS_TRIPLE}
|
||||||
|
ENV AS=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-as \
|
||||||
|
AR=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-ar \
|
||||||
|
CC=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-gcc \
|
||||||
|
CPP=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-cpp \
|
||||||
|
CXX=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-g++ \
|
||||||
|
LD=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-ld
|
||||||
|
|
||||||
ENV ANDROID_NDK_REVISION 10e
|
ENV ANDROID_NDK_REVISION 10e
|
||||||
RUN mkdir -p /build && \
|
RUN mkdir -p /build && \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user