summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2019-04-27 14:16:10 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2019-04-27 15:09:08 +0200
commit4f1674fc32224003931af4a74aa18168786ec9a2 (patch)
tree0b2e2226325fccf7cf0c8d2a53de9870f8d6c59a /README.rst
parentde8fa40a11e8a84b0388502147a346e00b6318a8 (diff)
defconfig: Add script
Simple script for initializing the configuration from an existing configuration file (usually a minimal configuration). Just copying the minimal configuration to .config would usually work, due to Kconfig semantics, but having it be a full configuration file from the start might be handier and less confusing.
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/README.rst b/README.rst
index 638de30..46b236e 100644
--- a/README.rst
+++ b/README.rst
@@ -65,6 +65,8 @@ available in the C tools.
- `savedefconfig <https://github.com/ulfalizer/Kconfiglib/blob/master/savedefconfig.py>`_
+- `defconfig <https://github.com/ulfalizer/Kconfiglib/blob/master/defconfig.py>`_
+
- `alldefconfig <https://github.com/ulfalizer/Kconfiglib/blob/master/alldefconfig.py>`_
- `allnoconfig <https://github.com/ulfalizer/Kconfiglib/blob/master/allnoconfig.py>`_
@@ -133,6 +135,11 @@ Getting started
3. Generate an initial configuration with e.g. ``menuconfig`` or
``alldefconfig``. The configuration is saved as ``.config`` by default.
+ For more advanced projects, the ``defconfig`` utility can be used to
+ generate the initial configuration from an existing configuration file.
+ Usually, this existing configuration file would be a minimal configuration
+ file, as generated by e.g. ``savedefconfig``.
+
4. Run ``genconfig`` to generate a header file. By default, it is saved as
``config.h``.