diff options
author | Andrew Morton <akpm@osdl.org> | 2003-08-18 18:33:10 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@home.osdl.org> | 2003-08-18 18:33:10 -0700 |
commit | d8055027615aaa13ae763adabbac2199e1d822e7 (patch) | |
tree | 73a7bafbc69077d5e19c92255dabf435870b767a /init | |
parent | e89061de1611bc5f3bb69983c94106dcc48bb40b (diff) | |
download | history-d8055027615aaa13ae763adabbac2199e1d822e7.tar.gz |
[PATCH] enable the ikconfig stuff in config
From: Sean Estabrooks <seanlkml@rogers.com>
- fix space at end of line in config files;
- add error check on put_user(); (Daniele Bellucci <bellucda@tiscali.it>)
- add missing Kconfig piece for ikconfig;
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig index 5c012aeb2a8fbd..b01e44f573eba7 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -120,6 +120,31 @@ config LOG_BUF_SHIFT 13 => 8 KB 12 => 4 KB +config IKCONFIG + bool "Kernel .config support" + ---help--- + This option enables the complete Linux kernel ".config" file + contents, information on compiler used to build the kernel, + kernel running when this kernel was built and kernel version + from Makefile to be saved in kernel. It provides documentation + of which kernel options are used in a running kernel or in an + on-disk kernel. This information can be extracted from the kernel + image file with the script scripts/extract-ikconfig and used as + input to rebuild the current kernel or to build another kernel. + It can also be extracted from a running kernel by reading + /proc/ikconfig/config and /proc/ikconfig/built_with, if enabled. + /proc/ikconfig/config will list the configuration that was used + to build the kernel and /proc/ikconfig/built_with will list + information on the compiler and host machine that was used to + build the kernel. + +config IKCONFIG_PROC + bool "Enable access to .config through /proc/ikconfig" + depends on IKCONFIG + ---help--- + This option enables access to kernel configuration file and build + information through /proc/ikconfig. + menuconfig EMBEDDED bool "Remove kernel features (for embedded systems)" |