Messages in this thread Patch in this message | | | From | Alexander Holler <> | Subject | [PATCH 1/3] Include kernel config by default | Date | Sat, 26 Jan 2013 14:34:26 +0100 |
| |
The configuration used to build a kernel (.config) is an import part of the kernel because it defines many aspects how the kernel handles all kind of stuff. Without knowing the used configuration, it is almost impossible to diagnose problems or to determine how many functionalities are handled by the kernel.
Therefor include the used configuration by default (e.g. to extract it using scripts/extract-ikconfig) and make it available through /proc/config.gz.
Signed-off-by: Alexander Holler <holler@ahsoftware.de> --- init/Kconfig | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/init/Kconfig b/init/Kconfig index be8b7f5..ccf43c6 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -680,6 +680,7 @@ endmenu # "RCU Subsystem" config IKCONFIG tristate "Kernel .config support" + default y ---help--- This option enables the complete Linux kernel ".config" file contents to be saved in the kernel. It provides documentation @@ -692,6 +693,7 @@ config IKCONFIG config IKCONFIG_PROC bool "Enable access to .config through /proc/config.gz" + default y depends on IKCONFIG && PROC_FS ---help--- This option enables access to the kernel configuration file -- 1.7.11.7
| |