ulfalizer / Kconfiglib

A flexible Python 2/3 Kconfig implementation and library
ISC License
456 stars 161 forks source link

make -p instead patching makefile #21

Closed neumond closed 8 years ago

neumond commented 8 years ago

This should print all env variables from makefile. It will require writing standalone parser for LANG= make -p output. Don't know how nicely this will work under different make systems though. Possible complexity is in recursive makefile system: every makefile can set its own variables, some investigation needed to know whether this affects result.

neumond commented 8 years ago

Another probably possible option is a separate makefile somehow importing the original one.

ulfalizer commented 8 years ago

Yeah, I worry that there might be more complex and brittle than the patch. I could be convinced though. :)