Programmatically set CONFIG_* to 'm', where possible
Hi all,
I'd like to have a script that generates a .config file with everything possible set to build as a module. I will then pass that through meunconfig. Here's what I've thought to do so far. 1. find all Kconfig files in the tree 2. for each Kconfig file, find config WHATEVER lines followed by lines containing tristate. 3. Now having the list of module-ready config options, sed replace the lines in the .config. But: (a) Such a script or tool might already exist. Do you know of one? (b) (1) and (2), and heck possibly (3), can probably be done quickly by an awkspert. (c) There may be a more obvious approach than putzing about with Kconfig files directly. Pointers? Thanks. |
That's simple:
Code:
"make allmodconfig" |
Quote:
It was right in the top-level README. Classic. Quote:
|
make help output is interesting too :)
|
Quote:
|
All times are GMT -5. The time now is 10:08 PM. |