[PATCH 1/3] Include kernel config by default

From: Alexander Holler
Date: Sat Jan 26 2013 - 08:35:12 EST


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@xxxxxxxxxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/