summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-03-20 17:16:17 +0100
committerGitHub <noreply@github.com>2018-03-20 17:16:17 +0100
commit424e95d371990f5f7a8a9b6d7f31351b8d3f6ed8 (patch)
tree9310d12862e6a8452d95b962e0c7b2fb0c68ab86
parentc67ea9f62e9e22a53c0bd936e0c064d38691f364 (diff)
Add kconfig.py from Zephyr as a real-world example
-rw-r--r--README.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.rst b/README.rst
index 5b320d0..d6fbdfe 100644
--- a/README.rst
+++ b/README.rst
@@ -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 :).