From 22d3cc30fd6bc38da2af2a446a8babe28e79701c Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Mon, 11 Feb 2019 02:56:03 +0100 Subject: 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. --- README.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'README.rst') diff --git a/README.rst b/README.rst index e8091ea..03282a5 100644 --- a/README.rst +++ b/README.rst @@ -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 `_ @@ -74,6 +74,8 @@ executables. All but one mirror functionality available in the C tools. - `genconfig `_ +- `setconfig `_ + ``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. -- cgit v1.2.3