Commit Graph

14 Commits

Author SHA1 Message Date
Paolo Bosetti
0d31400b97 Support for building images locally 2022-12-16 16:07:56 +01:00
27418538ca Update linux-armv7
Update linux-armv7

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2022-05-19 12:55:07 +02:00
f888b7de0b Replace deprecated label 'MAINTAINER' by 'LABEL maintainer'
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-10-04 12:51:28 +02:00
cc581da2da Update linux-armv7
Update linux-armv7
2021-09-20 10:48:21 +02:00
d68c8073fe Update crosstool-ng
Update crosstool-ng

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-08-20 15:37:11 +02:00
f22865db7f Update crosstool-ng, mxe and wasm
Update crosstool-ng, mxe and wasm

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-08-04 15:12:10 +02:00
5c67699710 Update commit to latest version
Update crosstool-ng and mxe

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-07-08 08:23:29 +02:00
7b63720438 Update linux-armv7 to latest crosstool-ng version
GCC 11
Linux 5.12.12
GLIBC 2.33
Binutils 2.36

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-06-28 11:12:30 +02:00
2082f62c76 Improve install-crosstool-ng-toolchain.sh scripts
It is now possible to choose the version of crosstool-ng per image, To make it easier to upgrade crosstool-ng to newer versions without having to update all images at the same time

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-06-23 14:53:33 +02:00
Jean-Christophe Fillion-Robin
68b4549a50 Introduce "common.label-and-env"
This will simply the removal of deprecated "org.label-schema" annotation [1]
and the introduction of open containers ones [2]

[1] http://label-schema.org/rc1/
[2] https://github.com/opencontainers/image-spec/blob/master/annotations.md
2021-04-18 19:15:26 +02:00
Jean-Christophe Fillion-Robin
369d828efd Dockerfile: Remove unused default value associated IMAGE build argument 2021-04-18 19:15:26 +02:00
Leonardo Graboski Veiga
0848dfc264 Set environment variables for Linux kernel cross compilation
Set the ARCH, CROSS_COMPILE and PATH variables to support Linux kernel
cross compilation.

ARCH is set according to:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch?h=v5.2.2

PATH is set to include the cross toolchain path, which is used by the
kernel Makefile.

CROSS_COMPILE is the CROSS_TRIPLE with a dash appended, as the kernel
Makefile uses it to invoke the toolchain utils.

To build the kernel, depending on the config, libssl-dev and libelf-dev
are required. Those are not dealt in this commit as they are not
correlated to the environment variables.

Validated by build the kernel using default kernel config when possible,
otherwise randomly select a defconfig.

<arch> - <defconfig>
arm64 - defconfig
armv5 and armv5-musl - colibri_pxa270_defconfig
armv6 - bcm2835_defconfig
armv7 and armv7a- tegra_defconfig
*x86 - i386_defconfig
mips and mipsel - ath79_defconfig
ppc64le - wii_defconfig
s390x - defconfig
x64 - x86_64_defconfig

* x86 dockcross toolchain does not provide "ld" and compilation fails.

fix #160
2019-07-23 22:54:25 -03:00
Matt McCormick
c96cbdc956
versioning: Set DEFAULT_DOCKCROSS_IMAGE based on the image tag
This ensures that the dockcross script will continue to use the specific
tagged version of the image that generates it.
2019-01-16 23:25:52 -05:00
Nadav Ruskin
b3bcf24ffc Crosstool-ng'd armv7 2018-07-11 10:45:53 +03:00