public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Alexander Holler <holler@ahsoftware.de>
To: linux-kernel@vger.kernel.org
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
	Russell King <linux@arm.linux.org.uk>,
	Thomas Gleixner <tglx@linutronix.de>,
	Ingo Molnar <mingo@redhat.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Alexander Holler <holler@ahsoftware.de>
Subject: [PATCH 1/3] Include kernel config by default
Date: Sat, 26 Jan 2013 14:34:26 +0100	[thread overview]
Message-ID: <1359207268-9340-2-git-send-email-holler@ahsoftware.de> (raw)
In-Reply-To: <1359207268-9340-1-git-send-email-holler@ahsoftware.de>

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


  reply	other threads:[~2013-01-26 13:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-26 13:34 [PATCH 0/3] Include kernel config by default Alexander Holler
2013-01-26 13:34 ` Alexander Holler [this message]
2013-01-26 13:34 ` [PATCH 2/3] Show option to not include kernel configuration only for embedded systems Alexander Holler
2013-01-26 13:34 ` [PATCH 3/3] Remove IKCONFIG_* from all defconfigs as those options are now enabled by default Alexander Holler
2013-01-27  4:01 ` [PATCH 0/3] Include kernel config " Andreas Mohr
2013-01-27 16:28 ` Alexander Holler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1359207268-9340-2-git-send-email-holler@ahsoftware.de \
    --to=holler@ahsoftware.de \
    --cc=akpm@linux-foundation.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=mingo@redhat.com \
    --cc=tglx@linutronix.de \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox