lkml.org 
[lkml]   [2013]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 1/3] Include kernel config by default
Date
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


\
 
 \ /
  Last update: 2013-01-26 15:21    [W:0.109 / U:1.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site