You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kconfiglib was originally used to generate a "minimal" kernel for a given system.
467
466
Some parts of that approach feel dated now, but that often happens with older work.
468
467
469
-
### Sample `make iscriptconfig` session
470
-
471
-
The following log provides an overview of the functionality available in the API:
472
-
```
473
-
$ make iscriptconfig
474
-
A Kconfig instance 'kconf' for the architecture x86 has been created.
475
-
>>> kconf # Calls Kconfig.__repr__()
476
-
<configuration with 13711 symbols, main menu prompt "Linux/x86 4.14.0-rc7 Kernel Configuration", srctree ".", config symbol prefix "CONFIG_", warnings enabled, undef. symbol assignment warnings disabled>
477
-
>>> kconf.mainmenu_text # Expanded main menu text
478
-
'Linux/x86 4.14.0-rc7 Kernel Configuration'
479
-
>>> kconf.top_node # The implicit top-level menu
480
-
<menu node for menu, prompt "Linux/x86 4.14.0-rc7 Kernel Configuration" (visibility y), deps y, 'visible if' deps y, has child, Kconfig:5>
481
-
>>> kconf.top_node.list # First child menu node
482
-
<menu node for symbol SRCARCH, deps y, has next, Kconfig:7>
0 commit comments