lkml.org 
[lkml]   [2009]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[RFC PATCH 1/6] New option: Static linking of external modules
Date
Define configuration option CONFIG_MODULE_STATIC.
---
init/Kconfig | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/init/Kconfig b/init/Kconfig
index f068071..dc0f5aa 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1042,6 +1042,27 @@ config MODULE_SRCVERSION_ALL
the version). With this option, such a "srcversion" field
will be created for all modules. If unsure, say N.

+config MODULE_STATIC
+ bool "Static module linking support (EXPERIMENTAL)"
+ depends on EXPERIMENTAL
+ help
+ Your computer will start slightly faster if device drivers are
+ built into the kernel rather than loaded as modules during the
+ boot process.
+
+ However, a specialized kernel is impractical to build if the target
+ hardware configuration is unknown before installation, such as is
+ the case with generic Linux distributions.
+
+ If you say Y here, you can build external modules into the kernel,
+ quickly and without a compiler and with less disk space needed
+ compared to a fully compiled kernel source tree. Note that your
+ modules must also be built with this option enabled.
+
+ See <file:/Documentation/...TODO...> for more details.
+
+ If unsure, say N.
+
endif # MODULES

config INIT_ALL_POSSIBLE
--
1.5.6.3


\
 
 \ /
  Last update: 2009-02-15 19:23    [W:0.678 / U:0.372 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site