-
Notifications
You must be signed in to change notification settings - Fork 2.1k
makefiles/kconfig: add board & CPU config variables #17376
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
makefiles/kconfig: add board & CPU config variables #17376
Conversation
efea031
to
d128c0d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK, murdock should check the dependencies.
Looks like there are still some issues, I will try to push a solution as @leandrolanzieri is a bit unavailable. |
I changes the priority of |
Things seem to be doing OK now. May I squash (or @leandrolanzieri ). |
Please squash, ACK stands |
This introduces KCONFIG_BOARD_CONFIG and KCONFIG_CPU_CONFIG variable for boards and CPUs (including common directories) to add default configuration files to be merged. The current approach, as it uses Makefile.features, would include boards first, not allowing them to override CPU configurations.
f40de78
to
c8533e6
Compare
Done! now we wait :) |
Contribution description
This introduces
KCONFIG_BOARD_CONFIG
andKCONFIG_CPU_CONFIG
variable for boards and CPUs (including common directories) to add default configuration files to be merged. The current approach, as it usesMakefile.features
, would include boards first, not allowing them to override CPU configurations.Documentation on this is added as well.
Testing procedure
stm32f769i-disco
, which has configuration files from different sources (board, stm32, cortexm_common), now the order is the correct: 1st the arch, 2nd the cpu, 3rd the board. This can be seen by printingMERGE_SOURCES
frommakefiles/kconfig.mk
and building withTEST_KCONFIG=1
.Issues/PRs references
Found in #17349