Skip to content

bootlin/toolchains-builder

Folders and files

NameName
Last commit message
Last commit date
Jul 17, 2024
Aug 15, 2024
Jul 16, 2024
Jul 17, 2024
Jun 20, 2017
Dec 24, 2021
Jul 17, 2024
Oct 8, 2018
Aug 15, 2024
Dec 24, 2021
Dec 24, 2021
Aug 9, 2024
Aug 15, 2024
Jul 17, 2024

Repository files navigation

Toolchains builder

The goal of this project is to automate the build of a wide range of toolchains using Buildroot.

Since making a per-toolchain configuration is not viable, some scripts have been made to allow a more flexible configuration. You can find all the config fragments in the configs folder.

update_gitlab-ci.sh

This script simply makes the different valid fragments from all the possible combinations of architecture, libc, and version, found in the configs folder.

It autocommits the generated fragments in a builds branch. The fragments are in the frags folder, and a .gitlab-ci.yaml file is created to trigger the builds if pushed to a well configured Gitlab hosted project.

build.sh

This is the main script handling the build, the test, and the packaging of the toolchain. If you typically want to recreate the whole build process, just run that as root (for chroot). It is wise to do that in some sort of container, and not on your bare system.

build_chroot.sh

This is the script called in the chroot environment, that simply builds the toolchain without testing it or packaging anything. If you simply want to reproduce the build for debugging, it's probably this script your looking for.

All these scripts can be called without arguments to get their usage information.