mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-07-22 01:32:24 +02:00
Fix
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 "armv6-unknown-linux-gnueabihf" target.
|
||||
ENV CROSS_TRIPLE armv6-unknown-linux-gnueabihf
|
||||
# The CROSS_TRIPLE is a configured alias of the "armv6-rpi-linux-gnueabihf" target.
|
||||
ENV CROSS_TRIPLE armv6-rpi-linux-gnueabihf
|
||||
ENV CROSS_ROOT ${XCC_PREFIX}/${CROSS_TRIPLE}
|
||||
ENV AS=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-as \
|
||||
AR=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-ar \
|
||||
@@ -36,6 +36,4 @@ ENV PATH ${PATH}:${CROSS_ROOT}/bin
|
||||
ENV CROSS_COMPILE ${CROSS_TRIPLE}-
|
||||
ENV ARCH arm
|
||||
|
||||
RUN cd /usr/xcc/ && find . -name '*linux*'
|
||||
|
||||
#include "common.label-and-env"
|
||||
|
@@ -1,7 +1,7 @@
|
||||
set(CMAKE_SYSTEM_NAME Linux)
|
||||
set(CMAKE_SYSTEM_VERSION 1)
|
||||
set(CMAKE_SYSTEM_PROCESSOR arm)
|
||||
set(cross_triple "armv6-unknown-linux-gnueabihf")
|
||||
set(cross_triple "armv6-rpi-linux-gnueabihf")
|
||||
set(cross_root /usr/xcc/${cross_triple})
|
||||
|
||||
set(CMAKE_C_COMPILER $ENV{CC})
|
||||
|
Reference in New Issue
Block a user