Messages in this thread Patch in this message | | | From | Andreas Robinson <> | Subject | [RFC PATCH 1/6] New option: Static linking of external modules | Date | Sun, 15 Feb 2009 19:20:23 +0100 |
| |
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
| |