From 4f1674fc32224003931af4a74aa18168786ec9a2 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Sat, 27 Apr 2019 14:16:10 +0200 Subject: 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. --- README.rst | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'README.rst') 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 `_ +- `defconfig `_ + - `alldefconfig `_ - `allnoconfig `_ @@ -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``. -- cgit v1.2.3