-
Notifications
You must be signed in to change notification settings - Fork 8.3k
style: drivers: use Kconfig glob for sourcing all sub-Kconfig #100607
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
Conversation
e695623 to
8b7d30a
Compare
|
Manual ping to the audio collaborators: the Kconfig in audio were renamed to allow a glob to happen:
|
Complement zephyrproject-rtos#99761 that added register includes to too few files. Fix build error for some boards using these SoCs. Signed-off-by: Josuah Demangeon <[email protected]>
In order to use glob, add a common prefix to all audio codecs Kconfig files: "Kconfig.*" -> "Kconfig.codec_*". Reduce the effort in introducing new drivers and reduce ambiguity of which type of audio driver it is. Signed-off-by: Josuah Demangeon <[email protected]>
Simplify the contributin of new drivers by using the glob mechanism supported by Kconfig. This was already used by I2S Kconfig and is propagated to other driver classes. Signed-off-by: Josuah Demangeon <[email protected]>
|
henrikbrixandersen
left a comment
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.
Please don't. This will source intermediate editor files, editor backup files etc, and break the development environment for a lot of end users.
|
There is more to Zephyr than just what's in-tree that is true. |



Dependency:
It seems to work well for I2S:
zephyr/drivers/i2s/Kconfig
Line 28 in 8053d77
I have not unified all drivers to either absolute (
source) or relative (rsource), but can do it easily in the process.It removes one manual step for each contribution.
Current PRs that add a Kconfig entry might need to remove their
Kconfigaddition.