Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc: document generate-makefile.ci #19239

Merged
merged 1 commit into from
Feb 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions doc/doxygen/src/advanced-build-system-tricks.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,17 @@ To do a repository wide analysis, you can use the script
`dist/tools/buildsystem_sanity_check/save_all_dependencies_resolution_variables.sh`
that will generate the output for all boards and applications.
It currently take around 2 hours on an 8 cores machine with ssd.

Generate Makefile.ci content {#generate-makefileci}
============================

Most applications and tests include a `Makefile.ci` to indicate which boards can
not compile the application or test. The content for these files can be
generated via the script in
~~~~~~~~~~~~~~~~~~~
make -C $APPLICATION_DIRECTORY generate-Makefile.ci
~~~~~~~~~~~~~~~~~~~
This will compile and link the application for every board available and record
the result in the Makefile.ci. This requires the toolchain for every target to
be available. The target supports using docker via the `BUILD_IN_DOCKER=1`
variable.