Generate config check headers

Infrastructure to generate config check headers, to be included in
`${PROJECT}_config.c`.

This commit creates a module with the core logic, and support for three
generated files, to be included before the user config, just after the user
config, and after finalizing the user config.

This commit provides a basic `Checker` class. Future commits will add
derived classes for common cases such as options set in the wrong project.

This module is meant to be used in an executable script in each project,
containing the project-specific names to use and the list of options.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
1 file changed
tree: 4fb2d3d7fac2ba39afec9f4ce8e431998bd3e429
  1. .github/
  2. data_files/
  3. docs/
  4. psasim/
  5. scripts/
  6. tests/
  7. .gitignore
  8. CMakeLists.txt
  9. CONTRIBUTING.md
  10. dco.txt
  11. exported.make
  12. LICENSE
  13. README.md
README.md

Mbed TLS framework

This repository contains a version-independent build and test framework for TF-PSA-Crypto and Mbed TLS.

You need this repository as a Git submodule in a branch of one of the above repositories if:

  • You want to build, test or contribute to Mbed TLS 3.6.0 or above, and you are working from a snapshot of a Git commit on a development branch.
  • You want to build, test or contribute to TF-PSA-Crypto, and you are working from a snapshot of a Git commit on a development branch.

You do not need this repository if:

  • You are working with Mbed TLS 2.28.
  • You want to build a release of Mbed TLS and run its unit tests.

Contributing

We gratefully accept bug reports and contributions from the community. Please see the contributing guidelines for details on how to do this.

License

Unless specifically indicated otherwise in a file, Mbed TLS framework files are provided under a dual Apache-2.0 OR GPL-2.0-or-later license. See the LICENSE file for the full text of these licenses, and the ‘License and Copyright’ section in the contributing guidelines for more information.