- 论坛徽章:
- 1
|
- #
- # For a description of the syntax of this configuration file,
- # see Documentation/kbuild/kconfig-language.txt
- #
- mainmenu "Linux Kernel Configuration"
- menuconfig MODULES
- bool "Enable loadable module support"
- option modules
- help
- Kernel modules are small pieces of compiled code which can
- be inserted in the running kernel, rather than being
- permanently built into the kernel. You use the "modprobe"
- tool to add (and sometimes remove) them. If you say Y here,
- many parts of the kernel can be built as modules (by
- answering M instead of Y where indicated): this is most
- useful for infrequently used options which are not required
- for booting. For more information, see the man pages for
- modprobe, lsmod, modinfo, insmod and rmmod.
- config BOOL_CONFIG
- bool "Use to debug bool"
- help
- You can utilize this symbol to get 'n' or 'y'
- config STRING_CONFIG
- string "Use to debug string"
- help
- You can utilize this symbol to get a string
- config TRISTATE_CONFIG
- tristate "state with tri"
- help
- You can utilize this symbol to get a tristate
- config HEX_CONFIG
- hex "Use to debug hex"
- help
- You can utilize this symbol to get a hex value
- config INT_CONFIG
- int "Use to debug int"
- help
- You can utilize this symbol to get an int value
复制代码
回复 1# Buddy_Zhang1
因为 tristate要依赖于MODULES这个编译选项,所以,你的原来的代码不成功,而加入了新的,可以成功运行了。
|
|