2017-03-12 20:45:48

by Drew DeVault

[permalink] [raw]
Subject: Programatically modifying .config

I'm in the research stage of making it so something to the effect of
`make setconfig OPTION="CONFIG_E100E=y"` will work, bringing it up here
for some discussion first.

Digging into the kconfig code, this seems feasible, but complicated. A
simple solver of some sort will be necessary to make the Depends expr
true, and this tool would also have to hit up the Selects and Implies
lines.

I expect there will be edge cases that this tool can't cope with, and
I'm okay with just letting that be the case.

Any thoughts?

--
Drew DeVault