mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-06-22 19:03:35 +02:00
Update crosstool-ng to lastest version
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 "armv7-unknown-linux-gnueabi" target.
|
||||
ENV CROSS_TRIPLE armv7-unknown-linux-gnueabi
|
||||
# The CROSS_TRIPLE is a configured alias of the "arm-cortexa9_neon-linux-gnueabihf" target.
|
||||
ENV CROSS_TRIPLE arm-cortexa9_neon-linux-gnueabihf
|
||||
ENV CROSS_ROOT ${XCC_PREFIX}/${CROSS_TRIPLE}
|
||||
ENV AS=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-as \
|
||||
AR=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-ar \
|
||||
@ -29,7 +29,7 @@ ENV QEMU_SET_ENV "LD_LIBRARY_PATH=${CROSS_ROOT}/lib:${QEMU_LD_PREFIX}"
|
||||
COPY Toolchain.cmake ${CROSS_ROOT}/
|
||||
ENV CMAKE_TOOLCHAIN_FILE ${CROSS_ROOT}/Toolchain.cmake
|
||||
|
||||
ENV PKG_CONFIG_PATH /usr/lib/arm-linux-gnueabihf/
|
||||
ENV PKG_CONFIG_PATH /usr/lib/arm-cortexa9_neon-linux-gnueabihf/
|
||||
|
||||
# Linux kernel cross compilation variables
|
||||
ENV PATH ${PATH}:${CROSS_ROOT}/bin
|
||||
|
@ -1,8 +1,8 @@
|
||||
set(CMAKE_SYSTEM_NAME Linux)
|
||||
set(CMAKE_SYSTEM_VERSION 1)
|
||||
set(CMAKE_SYSTEM_PROCESSOR arm)
|
||||
set(cross_triple "armv7-unknown-linux-gnueabi")
|
||||
#arm-cortexa8_neon-linux-gnueabihf
|
||||
set(cross_triple "arm-cortexa9_neon-linux-gnueabihf")
|
||||
#arm-cortexa9_neon-linux-gnueabihf
|
||||
set(cross_root /usr/xcc/${cross_triple})
|
||||
|
||||
set(CMAKE_C_COMPILER $ENV{CC})
|
||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user