linux Kconfig 语法详解之 default
来源:互联网 发布:知乎 双立人 电视购物 编辑:程序博客网 时间:2024/05/17 06:19
-----彭晓林
以下是我的Kconfig 测试脚本
tristate "test counter1"
#默认不编译
default n
help
this is for pulse counter test.
config TEST_counter2
tristate "test counter2"
#默认编译为内核
default y
help
this is for pulse counter test.
config TEST_counter3
tristate "test counter3"
#默认编译进内核
default m
help
this is for pulse counter test.
内核编译中dault 选项有三个---n, y,m
n, 表示默认不编译
y,表示默认编译进内核
m,表示默认编译为模块
Kconfig 脚本完成之后运行make menuconfig 就会见到以下菜单:
< > test counter1 (NEW)
<*> test counter2 (NEW)
<M> test counter3 (NEW)
第一行跟Kconfig 中"default n " 对应
第二行跟Kconfig 中"default y " 对应
第三行跟Kconfig 中"default m " 对应
- linux Kconfig 语法详解之 default
- linux Kconfig 语法详解之 default
- Kconfig语法详解
- Linux内核配置Kconfig语法
- linux官方文档翻译--Kconfig的语法
- arm-linux内核配置文件Kconfig语法
- Kconfig语法
- KConfig语法
- linux之.config,makefile,kconfig
- LINUX之makefile与kconfig
- linux make menuconfig\Makefile\Kconfig 详解
- Linux Makefile与Kconfig文件详解
- Linux Makefile与Kconfig文件详解
- Linux Makefile与Kconfig文件详解
- Linux Makefile与Kconfig文件详解
- Kconfig详解
- Kconfig详解
- Kconfig详解
- TCP三次握手
- Google+正在测试新的社区功能
- 常用正则表达式
- VSSADMIN命令无法列出SQL writer的问题
- Android 2.3源码下载编译全过程(附图及文档)修改版
- linux Kconfig 语法详解之 default
- Delphi 关键字详解[整理于 "橙子" 的帖子]
- java 开发第三方常用的第三方jar包
- Android 2.2下面调试wm8976 的音频 放音的奇闻 平台是S5PC100
- 不要问自己会啥而要问自己能创造啥价值
- 解决模拟器TimeOut的问题
- 基类、派生类的学习感悟
- java应用两日期差
- 2005年11月