Skip to content

Dotconfig: Single entry point for all options#21

Merged
dgarske merged 6 commits intomasterfrom
dotconfig
Oct 11, 2019
Merged

Dotconfig: Single entry point for all options#21
dgarske merged 6 commits intomasterfrom
dotconfig

Conversation

@danielinux
Copy link
Copy Markdown
Member

The goal of this feature is to introduce a new configuration layer, on top of the existing Makefile environment.

  • include/target.h and the linker scripts for wolfboot and the test application are now automatically generated at compile time according to the global configuration options for the flash geometry.

  • An optional .config file can now be provided to alter the default options. Custom make invocation that alter the environment still have priority on the values stored in .config.

  • A new target make config shows an interactive prompt to create a (complete) custom .config file.

  • A few .config file usage examples are provided under config/examples

test.mk has been updated accordingly, all test passing on the CI testbed.

Ready for review.

Copy link
Copy Markdown
Member

@dgarske dgarske left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Daniele! Excellent feature addition... make config.

@dgarske dgarske merged commit 92d0478 into master Oct 11, 2019
@danielinux danielinux deleted the dotconfig branch October 14, 2019 12:55
danielinux pushed a commit that referenced this pull request Apr 16, 2024
Fix for test_wrap_unwrap_key handle leak. Add GitHub CI action
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants