summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-05-01 01:20:13 +0200
committerGitHub <noreply@github.com>2018-05-01 01:20:13 +0200
commitc8539bc7bbd7b404a46b8dc07e0a43fb0647cfa7 (patch)
tree02a29764e0ae3a6be15476b7af88a74e6bcd71b5
parentbf0adb178431b0c3e290c95135f501c09fcd5f54 (diff)
Add genrest.py from the Zephyr project as an example
-rw-r--r--README.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.rst b/README.rst
index 78dc63f..50b5d57 100644
--- a/README.rst
+++ b/README.rst
@@ -343,6 +343,8 @@ 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.
+- `genrest.py <https://github.com/zephyrproject-rtos/zephyr/blob/master/scripts/kconfig/kconfig.py>`_ generates a Kconfig symbol cross-reference, which can be viewed `here <http://docs.zephyrproject.org/reference/kconfig/index.html>`_.
+
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 :).