-
Notifications
You must be signed in to change notification settings - Fork 161
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
Kconfig preprocessor: couldn't parse 'default $(shell ... #47
Comments
@wizardofoz123 Are you running it via More environment variables are referenced in the Kconfig files now, which will need to be set if you run it manually. See the updated docstring at the top of I suspect you're missing Check above the error for related warnings as well. You might see something about |
On a side note, it would be nice if you could assume that there was a just a single Kconfig tree and always warn for stuff like references to undefined symbols (have to implement that manually now). Unfortunately, there's quite a lot of Kconfig files that are shared between different architectures in the kernel, which gives some (usually) safe undefined references. I wonder if it might be okay to always warn for references to undefined environment variables though... |
Yes, this was just a missing I'm not sure about undefined symbols, this may add a bit more "noise". |
@wizardofoz123 Yeah... wouldn't want it for the kernel at least. Been thinking of adding a "single-tree" mode, with a flag passed to |
Hi,
when I run Kconfiglib on v4.18-rc4 upstream kernel, I get:
init/Kconfig:16: couldn't parse ' default$(shell,$ (srctree)/scripts/gcc-version.sh -p $(CC) | sed 's/^0*//') if CC_IS_GCC': macro expanded to blank string
It looks like a tiny expansion issue in the new Kconfig preprocessor.
Best regards,
Jakub
The text was updated successfully, but these errors were encountered: