From 9232538670d503c491230dd4e6ef619e1479314c Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Tue, 7 Nov 2017 12:14:43 +0100 Subject: Add separate section for real-world examples --- README.rst | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/README.rst b/README.rst index 9244de8..03908eb 100644 --- a/README.rst +++ b/README.rst @@ -202,6 +202,21 @@ I'm not currently interested in implementing a (more usable) menuconfig myself, for a great one should be there if you want to give it a go. I'll help you out with any questions you might have. +Real-world examples +~~~~~~~~~~~~~~~~~~~ + +These use the older Kconfiglib 1 API, which was a bit clunkier and not as general (functions instead of properties, and no direct access to the menu structure or expressions): + +- `genboardscfg.py `_ from `Das U-Boot `_ generates some sort of legacy board database by pulling information from a newly added Kconfig-based configuration system (as far as I understand it :). + +- `gen-manual-lists.py `_ generated listings for an appendix in the `Buildroot `_ manual. (The listing has since been removed.) + +- `SConf `_ builds an interactive configuration interface (like ``menuconfig``) on top of Kconfiglib, for use e.g. with `SCons `_. + +- `kconfig-diff.py `_ -- a script by `dubiousjim `_ that compares kernel configurations. + +- Originally, Kconfiglib was used in chapter 4 of my `master's thesis `_ to automatically generate a "minimal" kernel for a given system. Parts of it bother me a bit now, but that's how it goes with old work. + Sample ``make iscriptconfig`` session ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -286,18 +301,6 @@ The following log should give some idea of the functionality available in the AP CONFIG_STACKTRACE_SUPPORT=y CONFIG_MMU=y ... - -* The `examples/ `_ directory contains simple example scripts. See the documentation for how to run them. - -* `genboardscfg.py `_ from `Das U-Boot `_ generates some sort of legacy board database by pulling information from a newly added Kconfig-based configuration system (as far as I understand it :). - -* `gen-manual-lists.py `_ generated listings for an appendix in the `Buildroot `_ manual. (The listing has since been removed.) - -* `SConf `_ builds an interactive configuration interface (like ``menuconfig``) on top of Kconfiglib, for use e.g. with `SCons `_. - -* `kconfig-diff.py `_ -- a script by `dubiousjim `_ that compares kernel configurations. - -* Originally, Kconfiglib was used in chapter 4 of my `master's thesis `_ to automatically generate a "minimal" kernel for a given system. Parts of it bother me a bit now, but that's how it goes with old work. Test suite ---------- -- cgit v1.2.3