mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-11-10 05:07:26 +01:00
Merge remote-tracking branch 'origin/master' into remove_mipsel
This commit is contained in:
commit
5a65786571
2
Makefile
2
Makefile
@ -288,4 +288,4 @@ test.prerequisites:
|
|||||||
|
|
||||||
$(addsuffix .test,base $(IMAGES)): test.prerequisites
|
$(addsuffix .test,base $(IMAGES)): test.prerequisites
|
||||||
|
|
||||||
.PHONY: base images $(IMAGES) test %.test clean
|
.PHONY: base images $(IMAGES) test %.test clean purge
|
||||||
|
@ -21,6 +21,10 @@ RUN apt-get update --yes && apt-get install --no-install-recommends --yes \
|
|||||||
help2man \
|
help2man \
|
||||||
python3-dev \
|
python3-dev \
|
||||||
texinfo \
|
texinfo \
|
||||||
|
# Packages needed for crosstool-ng 1.24 or higher
|
||||||
|
unzip \
|
||||||
|
libtool \
|
||||||
|
libtool-bin \
|
||||||
&& apt-get clean autoclean --yes \
|
&& apt-get clean autoclean --yes \
|
||||||
&& apt-get autoremove --yes \
|
&& apt-get autoremove --yes \
|
||||||
&& rm -rf /var/lib/{apt,dpkg,cache,log}/
|
&& rm -rf /var/lib/{apt,dpkg,cache,log}/
|
||||||
|
@ -3,7 +3,8 @@ FROM dockcross/base:latest
|
|||||||
# This is for 64-bit ARM Linux machine
|
# This is for 64-bit ARM Linux machine
|
||||||
|
|
||||||
# Crosstool-ng version
|
# Crosstool-ng version
|
||||||
ENV CT_VERSION crosstool-ng-1.23.0
|
# We use a git commit while waiting for 1.25 to release (1.24 is several years old)
|
||||||
|
ENV CT_VERSION 9e10cb6fbaab6d83e1305b2d53ab585d14989667
|
||||||
|
|
||||||
#include "common.crosstool"
|
#include "common.crosstool"
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -5,6 +5,9 @@ MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
|
|||||||
# VFP instructions (armhf).
|
# VFP instructions (armhf).
|
||||||
# musleabi as default glibc
|
# musleabi as default glibc
|
||||||
|
|
||||||
|
# We use a git commit while waiting for 1.25 to release (1.24 is several years old)
|
||||||
|
ENV CT_VERSION 9e10cb6fbaab6d83e1305b2d53ab585d14989667
|
||||||
|
|
||||||
#include "common.crosstool"
|
#include "common.crosstool"
|
||||||
|
|
||||||
# The cross-compiling emulator
|
# The cross-compiling emulator
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -5,7 +5,8 @@ MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
|
|||||||
# VFP instructions (armhf).
|
# VFP instructions (armhf).
|
||||||
|
|
||||||
# Crosstool-ng version
|
# Crosstool-ng version
|
||||||
ENV CT_VERSION crosstool-ng-1.23.0
|
# We use a git commit while waiting for 1.25 to release (1.24 is several years old)
|
||||||
|
ENV CT_VERSION 9e10cb6fbaab6d83e1305b2d53ab585d14989667
|
||||||
|
|
||||||
#include "common.crosstool"
|
#include "common.crosstool"
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -2,7 +2,8 @@ FROM dockcross/base:latest
|
|||||||
MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
|
MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
|
||||||
|
|
||||||
# Crosstool-ng version
|
# Crosstool-ng version
|
||||||
ENV CT_VERSION crosstool-ng-1.23.0
|
# We use a git commit while waiting for 1.25 to release (1.24 is several years old)
|
||||||
|
ENV CT_VERSION 9e10cb6fbaab6d83e1305b2d53ab585d14989667
|
||||||
|
|
||||||
# This is for 32-bit ARMv7 Linux
|
# This is for 32-bit ARMv7 Linux
|
||||||
#include "common.crosstool"
|
#include "common.crosstool"
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -3,8 +3,8 @@ MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
|
|||||||
|
|
||||||
# This is for 32-bit ARMv7 Linux
|
# This is for 32-bit ARMv7 Linux
|
||||||
|
|
||||||
# Crosstool-ng version
|
# We use a git commit while waiting for 1.25 to release (1.24 is several years old)
|
||||||
ENV CT_VERSION crosstool-ng-1.23.0
|
ENV CT_VERSION 9e10cb6fbaab6d83e1305b2d53ab585d14989667
|
||||||
|
|
||||||
#include "common.crosstool"
|
#include "common.crosstool"
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -3,7 +3,8 @@ FROM dockcross/base:latest
|
|||||||
# This is for 32-bit Big-Endian MIPS devices with hard floating point enabled
|
# This is for 32-bit Big-Endian MIPS devices with hard floating point enabled
|
||||||
|
|
||||||
# Crosstool-ng version
|
# Crosstool-ng version
|
||||||
ENV CT_VERSION crosstool-ng-1.23.0
|
# We use a git commit while waiting for 1.25 to release (1.24 is several years old)
|
||||||
|
ENV CT_VERSION 9e10cb6fbaab6d83e1305b2d53ab585d14989667
|
||||||
|
|
||||||
#include "common.crosstool"
|
#include "common.crosstool"
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -2,21 +2,24 @@ FROM dockcross/base:latest
|
|||||||
MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
|
MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
|
||||||
|
|
||||||
# Crosstool-ng version
|
# Crosstool-ng version
|
||||||
ENV CT_VERSION crosstool-ng-1.23.0
|
# We use a git commit while waiting for 1.25 to release (1.24 is several years old)
|
||||||
|
ENV CT_VERSION 9e10cb6fbaab6d83e1305b2d53ab585d14989667
|
||||||
|
|
||||||
|
ENV QEMU_VERSION 6.0.0
|
||||||
|
|
||||||
#include "common.crosstool"
|
#include "common.crosstool"
|
||||||
|
|
||||||
ENV CROSS_TRIPLE powerpc64le-linux-gnu
|
ENV CROSS_TRIPLE powerpc64le-unknown-linux-gnu
|
||||||
|
|
||||||
WORKDIR /usr/src
|
WORKDIR /usr/src
|
||||||
|
|
||||||
RUN apt-get install -y libglib2.0-dev zlib1g-dev libpixman-1-dev && \
|
RUN apt-get install -y libglib2.0-dev zlib1g-dev libpixman-1-dev && \
|
||||||
curl -L http://wiki.qemu-project.org/download/qemu-3.1.0.tar.bz2 | tar xj && \
|
curl -L http://wiki.qemu-project.org/download/qemu-${QEMU_VERSION}.tar.bz2 | tar xj && \
|
||||||
cd qemu-3.1.0 && \
|
cd qemu-${QEMU_VERSION} && \
|
||||||
./configure --target-list=ppc64le-linux-user --prefix=/usr && \
|
./configure --target-list=ppc64le-linux-user --prefix=/usr && \
|
||||||
make -j$(nproc) && \
|
make -j$(nproc) && \
|
||||||
make install && \
|
make install && \
|
||||||
cd .. && rm -rf qemu-3.1.0
|
cd .. && rm -rf qemu-${QEMU_VERSION}
|
||||||
|
|
||||||
ENV CROSS_ROOT ${XCC_PREFIX}/${CROSS_TRIPLE}
|
ENV CROSS_ROOT ${XCC_PREFIX}/${CROSS_TRIPLE}
|
||||||
ENV AS=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-as \
|
ENV AS=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-as \
|
||||||
@ -35,7 +38,7 @@ WORKDIR /work
|
|||||||
COPY Toolchain.cmake /usr/lib/${CROSS_TRIPLE}/
|
COPY Toolchain.cmake /usr/lib/${CROSS_TRIPLE}/
|
||||||
ENV CMAKE_TOOLCHAIN_FILE /usr/lib/${CROSS_TRIPLE}/Toolchain.cmake
|
ENV CMAKE_TOOLCHAIN_FILE /usr/lib/${CROSS_TRIPLE}/Toolchain.cmake
|
||||||
|
|
||||||
ENV PKG_CONFIG_PATH /usr/lib/powerpc64le-linux-gnu/pkgconfig
|
ENV PKG_CONFIG_PATH /usr/lib/powerpc64le-unknown-linux-gnu/pkgconfig
|
||||||
|
|
||||||
# Linux kernel cross compilation variables
|
# Linux kernel cross compilation variables
|
||||||
ENV PATH ${PATH}:${CROSS_ROOT}/bin
|
ENV PATH ${PATH}:${CROSS_ROOT}/bin
|
||||||
|
@ -2,7 +2,7 @@ set(CMAKE_SYSTEM_NAME Linux)
|
|||||||
set(CMAKE_SYSTEM_VERSION 1)
|
set(CMAKE_SYSTEM_VERSION 1)
|
||||||
set(CMAKE_SYSTEM_PROCESSOR ppc64le)
|
set(CMAKE_SYSTEM_PROCESSOR ppc64le)
|
||||||
|
|
||||||
set(cross_triple "powerpc64le-linux-gnu")
|
set(cross_triple "powerpc64le-unknown-linux-gnu")
|
||||||
set(cross_root /usr/xcc/${cross_triple})
|
set(cross_root /usr/xcc/${cross_triple})
|
||||||
|
|
||||||
set(CMAKE_C_COMPILER $ENV{CC})
|
set(CMAKE_C_COMPILER $ENV{CC})
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,10 +0,0 @@
|
|||||||
#------------------------------------------------------------------------------#
|
|
||||||
# OFFICIAL DEBIAN REPOS
|
|
||||||
#------------------------------------------------------------------------------#
|
|
||||||
|
|
||||||
###### Debian Main Repos
|
|
||||||
deb http://deb.debian.org/debian/ oldstable main contrib non-free
|
|
||||||
|
|
||||||
deb http://deb.debian.org/debian/ oldstable-updates main contrib non-free
|
|
||||||
|
|
||||||
deb http://deb.debian.org/debian-security oldstable/updates main
|
|
Loading…
Reference in New Issue
Block a user