mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-06-15 15:39:27 +02:00
Fix ARMv8 rpi, ARMv6, MIPS, MIPS64 and s390x images
This commit is contained in:
@ -12,8 +12,8 @@ RUN apt-get update \
|
||||
&& apt-get clean --yes
|
||||
|
||||
|
||||
# The CROSS_TRIPLE is a configured alias of the "arm-unknown-linux-gnueabi" target.
|
||||
ENV CROSS_TRIPLE arm-unknown-linux-gnueabi
|
||||
# The CROSS_TRIPLE is a configured alias of the "armv6-unknown-linux-gnueabi" target.
|
||||
ENV CROSS_TRIPLE armv6-unknown-linux-gnueabi
|
||||
ENV CROSS_ROOT ${XCC_PREFIX}/${CROSS_TRIPLE}
|
||||
ENV AS=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-as \
|
||||
AR=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-ar \
|
||||
|
@ -1,7 +1,7 @@
|
||||
set(CMAKE_SYSTEM_NAME Linux)
|
||||
set(CMAKE_SYSTEM_VERSION 1)
|
||||
set(CMAKE_SYSTEM_PROCESSOR arm)
|
||||
set(cross_triple "armv-unknown-linux-gnueabi")
|
||||
set(cross_triple "armv6-unknown-linux-gnueabi")
|
||||
set(cross_root /usr/xcc/${cross_triple})
|
||||
|
||||
set(CMAKE_C_COMPILER $ENV{CC})
|
||||
|
Reference in New Issue
Block a user