Commit Graph

14 Commits

Author SHA1 Message Date
1f28ea98a5 Update crosstool and fix
- Update to GCC 11.2.0
- Update crosstool-ng
- Fix FATAL: kernel too old with static build and QEMU (Down minimal kernel to 5.4.0, works on Ubuntu 20.04, debian 11 and Raspberry Pi OS after 2020-08-20)

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-08-06 22:39:33 +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
7717b5660a Update linux-armv7a 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:07:51 +02:00
78b96c7a09 Change 4 jobs build to automatic jobs build on linux-armv7a
Change 4 jobs build to automatic jobs build on linux-armv7a

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-06-25 16:34:53 +02:00
336eacf372 FIx build fail on linux-armv7a image
Switch to GCC 7.3.0 non-linaro, update GLIBC to 2.27 ect...

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-06-25 16:34:53 +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
40545c5f78 Disable python with GDB
Disable python with GDB: GDB 8.1 and lower have issues with python 3.7 and upper :
https://bugzilla.redhat.com/show_bug.cgi?id=1577396

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-05-26 20:06:05 +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
Jonas Vautherin
8388e2be3a Change cmake_find_root_path_mode to BOTH for remaining
linux cross-compiling images.
2019-10-11 18:37:07 +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
Hubert Farnsworth
638e8f6e8e updated armv7a to enable libtool and automake 2019-04-23 18:27:39 +00:00
Mikhail Zemlyanukha
2a29197b3b added image for ARMv7-A 2019-03-03 18:54:14 +03:00