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 2/3] Show option to not include kernel configuration only for embedded systems
Date: Sat, 26 Jan 2013 14:34:27 +0100	[thread overview]
Message-ID: <1359207268-9340-3-git-send-email-holler@ahsoftware.de> (raw)
In-Reply-To: <1359207268-9340-1-git-send-email-holler@ahsoftware.de>

The included kernel configuration only consumes a few kb. In order to
prevent premature optimization, show the the option for not including
the kernel configuration only for embedded systems.

Signed-off-by: Alexander Holler <holler@ahsoftware.de>
---
 init/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/init/Kconfig b/init/Kconfig
index ccf43c6..0b01c41 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -679,7 +679,7 @@ config RCU_NOCB_CPU
 endmenu # "RCU Subsystem"
 
 config IKCONFIG
-	tristate "Kernel .config support"
+	tristate "Kernel .config support" if EMBEDDED
 	default y
 	---help---
 	  This option enables the complete Linux kernel ".config" file
@@ -692,7 +692,7 @@ config IKCONFIG
 	  /proc/config.gz if enabled (below).
 
 config IKCONFIG_PROC
-	bool "Enable access to .config through /proc/config.gz"
+	bool "Enable access to .config through /proc/config.gz" if EMBEDDED
 	default y
 	depends on IKCONFIG && PROC_FS
 	---help---
-- 
1.7.11.7


  parent 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 ` [PATCH 1/3] " Alexander Holler
2013-01-26 13:34 ` Alexander Holler [this message]
2013-01-26 13:34 ` [PATCH 3/3] Remove IKCONFIG_* from all defconfigs as those options are now enabled " 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-3-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