diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2019-02-11 02:56:03 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2019-02-11 03:07:30 +0100 |
| commit | 22d3cc30fd6bc38da2af2a446a8babe28e79701c (patch) | |
| tree | 23277d5fdc66222eacf5fa69249e23b61ef36da1 /README.rst | |
| parent | f01cbb4d04143fcc0388f65be6f424e48a839e83 (diff) | |
setconfig: Add script
This is a simple script for updating configuration values from the
command line, with (optional) checking that the assigned value matches
the actual symbol value afterwards (which it might not if there are
unsatisfied dependencies).
Sample usage:
$ setconfig FOO_SUPPORT=y BAR_BITS=8
This is useful for patching the configuration in automated build
systems, in a way that's safer than directly patching configuration
files.
Diffstat (limited to 'README.rst')
| -rw-r--r-- | README.rst | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -54,7 +54,7 @@ installed with e.g. Microsoft Windows is supported. The ``pip`` installation will give you both the base library and the following -executables. All but one mirror functionality available in the C tools. +executables. All but two mirror functionality available in the C tools. - `menuconfig <https://github.com/ulfalizer/Kconfiglib/blob/master/menuconfig.py>`_ @@ -74,6 +74,8 @@ executables. All but one mirror functionality available in the C tools. - `genconfig <https://github.com/ulfalizer/Kconfiglib/blob/master/genconfig.py>`_ +- `setconfig <https://github.com/ulfalizer/Kconfiglib/blob/master/setconfig.py>`_ + ``genconfig`` is intended to be run at build time. It generates a C header from the configuration and (optionally) information that can be used to rebuild only files that reference Kconfig symbols that have changed value. |
