From 652f11b60f7b738440fe0e919d4de0c188e80395 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Mon, 5 Mar 2018 20:10:01 +0100 Subject: Add minimal configuration file generation support Works like 'make savedefconfig' in the C tools. Call it write_min_config() rather than write_defconfig() to be a bit more explicit. Add a test similar to test_defconfig that compares Kconfiglib minimal configuration output against the C implementation, for all defconfig files. Disable the tests for now. The C tools have a bug that causes an incorrect configuration to be generated for tristate choices in some cases. They will be re-enabled once those are fixed. --- README.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'README.rst') diff --git a/README.rst b/README.rst index 59f86bf..207b08c 100644 --- a/README.rst +++ b/README.rst @@ -23,11 +23,12 @@ configuration systems. It can do the following, among other things: produce identical output to the standard ``make allnoconfig`` and ``make allyesconfig``. -- **Read and write .config files** +- **Read and write .config and defconfig files** - The generated ``.config`` files are character-for-character identical to what - the C implementation would generate (except for the header comment). The test - suite relies on this, as it compares the generated files. + The generated ``.config`` and ``defconfig`` (minimal configuration) files are + character-for-character identical to what the C implementation would generate + (except for the header comment). The test suite relies on this, as it + compares the generated files. - **Write C headers** -- cgit v1.2.3