On Wed, 2011-03-09 at 09:48 +0100, Arnd Bergmann wrote:
On Wednesday 09 March 2011 03:32:40 John Stultz wrote:
+source "Kconfig.distro"
I think we want something more flexible than sourcing a global Kconfig.distro from the board file.
First of all, we want at least three levels, as Amit mentioned: distro, arch, board. I can think of at least another one: "flavor" for common variants of the distro config, e.g. if you want to enable a lot of debugging options or turn your root file systems into =y so you can work without initramfs.
Would it be possible to pass multiple Kconfig fragments to the Kconfig parser instead of just one top-level file that sources all the other ones?
Yep. I'd like to do exactly this in the future (probably a first pass will just generate a tmp file that sources the multiple fragments provided).
But I wanted to get the proof of concept out there first, so it hasn't been as much of a priority.
thanks -john