Kconfig: source EXTERNAL_MODULES configurations#16053
Merged
leandrolanzieri merged 2 commits intoRIOT-OS:masterfrom Feb 24, 2021
Merged
Kconfig: source EXTERNAL_MODULES configurations#16053leandrolanzieri merged 2 commits intoRIOT-OS:masterfrom
leandrolanzieri merged 2 commits intoRIOT-OS:masterfrom
Conversation
miri64
reviewed
Feb 19, 2021
| @@ -0,0 +1,36 @@ | |||
| /* | |||
| * Copyright (C) 2018 Freie Universität Berlin | |||
| * @file | ||
| * @brief | ||
| * | ||
| * @author Gaëtan Harter <gaetan.harter@fu-berlin.de> |
5ca65dd to
30fcd4c
Compare
fjmolinas
commented
Feb 19, 2021
| export KCONFIG_GENERATED_DEPENDENCIES = $(GENERATED_DIR)/Kconfig.dep | ||
|
|
||
| # This file will contain external module configurations | ||
| export KCONFIG_EXTERNAL_CONFIGS = $(GENERATED_DIR)/Kconfig.external_modules |
Contributor
Author
There was a problem hiding this comment.
These could be conditionally export, same for the above, but I would rather do both as a cleanup in a followup.
Contributor
Author
|
I think I addressed your change suggestions @leandrolanzieri! |
Contributor
|
Looks good @fjmolinas ! Please squash! |
9ce1feb to
22b74aa
Compare
Contributor
Author
|
@leandrolanzieri murdock succeded, buy you might want to take a look at the latest changes. |
Contributor
Looks good! please squash! |
fd70557 to
ab457ab
Compare
Contributor
Author
|
Squashed! |
Contributor
Author
|
All green @leandrolanzieri! |
leandrolanzieri
approved these changes
Feb 24, 2021
Contributor
leandrolanzieri
left a comment
There was a problem hiding this comment.
This provides a clean solution to integrate Kconfig files from external modules. When no modules are used it does not affect the process so this is completely optional. ACK!
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Contribution description
This PR enables handling external module configurations via Kconfig. They are all included under the same
external modulesmenu.To be able to source them easily as a blob all EXTERNAL_MODULE_DIRS that hold a configuration file are written as
osource <dir_path>/Kconfigto a Kconfig.external_modules file.Testing procedure
tests/kconfig.