Skip to content
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

option modules on non MODULES #115

Open
yamt opened this issue Jan 27, 2022 · 1 comment
Open

option modules on non MODULES #115

yamt opened this issue Jan 27, 2022 · 1 comment

Comments

@yamt
Copy link

yamt commented Jan 27, 2022

nuttx uses a different symbol.
https://github.com/apache/incubator-nuttx/blob/0c28fe9831ba6766dee9f3fd647147f2e2b8b60f/Kconfig#L216-L218
i guess it's simpler to implement it in Kconfiglib as suggested in

Kconfiglib/kconfiglib.py

Lines 3246 to 3254 in 061e71f

self._warn("the 'modules' option is not supported. "
"Let me know if this is a problem for you, "
"as it wouldn't be that hard to implement. "
"Note that modules are supported -- "
"Kconfiglib just assumes the symbol name "
"MODULES, like older versions of the C "
"implementation did when 'option modules' "
"wasn't used.",
self.filename, self.linenr)

@btashton
Copy link

Any thoughts on adding this, it would be helpful for my usage of NuttX as well? I am not familiar with this code base, but I could help if there is upstream interest.

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

No branches or pull requests

2 participants