Skip to content

Conversation

@thedjnK
Copy link

@thedjnK thedjnK commented Nov 29, 2025

This handling is terrible and should never have been introduced, this PR fixes this by adhering to the actual zephyr build system way of locating files and fixes some minor Kconfig annoyances relating to mode selection

This code seems to have been introduced by someone without
knowledge of the zephyr build system, specifying a Kconfig value
in multiple files is a completely legal operation, the one that
was applied last is the one that is used, and the default
directory for keys should be the application configuration
directory, not assuming where a .conf file is specifies the same
folder as a key file (which is completely at odds with how
Zephyr's file finding CMake code works).

Signed-off-by: Jamie McCrae <spam@helper3000.net>
Hides this Kconfig option when the operating mode is set to
work as hash only without signature

Signed-off-by: Jamie McCrae <spam@helper3000.net>
Moves all mode selections Kconfigs to the choice symbol instead
of being all over the place

Signed-off-by: Jamie McCrae <spam@helper3000.net>
Adds notes of these changes

Signed-off-by: Jamie McCrae <spam@helper3000.net>
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.

1 participant