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

error: couldn't parse 'modules': unrecognized construct #106

Open
montjoie opened this issue May 25, 2021 · 2 comments · Fixed by krishc0de/Kconfiglib#1 · May be fixed by #119
Open

error: couldn't parse 'modules': unrecognized construct #106

montjoie opened this issue May 25, 2021 · 2 comments · Fixed by krishc0de/Kconfiglib#1 · May be fixed by #119

Comments

@montjoie
Copy link

on top of a linux tree I got:
SRCARCH=arm ARCH=arm srctree=. CC=gcc LD=ld KERNELVERSION=5.12.0 genconfig
/usr/lib/python-exec/python3.7/genconfig: init/Kconfig:2078: error: couldn't parse 'modules': unrecognized construct

@montjoie
Copy link
Author

removing this line (modules on :2078) made the process continue

@cleanerx
Copy link

Probably due to this change in the linux kernel
torvalds/linux@6dd85ff

helmutg pushed a commit to helmutg/Kconfiglib that referenced this issue Apr 21, 2022
In linux commit 6dd85ff178cd76851e2184b13e545f5a88d1be30, Linux Torvalds
changed "option modules" to plain "modules" since it was the only option
left. kconfiglib does not have much support for either besides parsing
it and suppressing warnings when it is applied to the 'MODULES' symbol.
Mirror this behaviour for the newer "modules" property.

Fixes: ulfalizer#106
@helmutg helmutg linked a pull request Apr 21, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants