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 /setup.py | |
| 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 'setup.py')
| -rw-r--r-- | setup.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -34,6 +34,7 @@ setuptools.setup( "allmodconfig", "allyesconfig", "listnewconfig", + "setconfig", ), # TODO: Don't install the menuconfig on Python 2. It won't run there. @@ -49,6 +50,7 @@ setuptools.setup( "allmodconfig = allmodconfig:main", "allyesconfig = allyesconfig:main", "listnewconfig = listnewconfig:main", + "setconfig = setconfig:main", ) }, |
