diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-03-20 17:16:17 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-03-20 17:16:17 +0100 |
| commit | 424e95d371990f5f7a8a9b6d7f31351b8d3f6ed8 (patch) | |
| tree | 9310d12862e6a8452d95b962e0c7b2fb0c68ab86 /README.rst | |
| parent | c67ea9f62e9e22a53c0bd936e0c064d38691f364 (diff) | |
Add kconfig.py from Zephyr as a real-world example
Diffstat (limited to 'README.rst')
| -rw-r--r-- | README.rst | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -285,6 +285,8 @@ See the `pymenuconfig <https://github.com/RomaVis/pymenuconfig>`_ project for a Real-world examples ~~~~~~~~~~~~~~~~~~~ +- `kconfig.py <https://github.com/zephyrproject-rtos/zephyr/blob/master/scripts/kconfig/kconfig.py>`_ from the `Zephyr <https://www.zephyrproject.org/>`_ project handles ``.config`` and header file generation, also doing configuration fragment merging. + These use the older Kconfiglib 1 API, which was clunkier and not as general (functions instead of properties, no direct access to the menu structure or properties, uglier ``__str__()`` output): - `genboardscfg.py <http://git.denx.de/?p=u-boot.git;a=blob;f=tools/genboardscfg.py;hb=HEAD>`_ from `Das U-Boot <http://www.denx.de/wiki/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 :). |
