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 <hol...@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

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

Reply via email to