内核源码配置问题求教
时间:2010-08-04
来源:互联网
本帖最后由 new_new_one 于 2010-08-04 17:33 编辑
内核在编译之前,需要执行:
make *config
之类的命令,配置结束后,会在源码根目录生成.config文件(当然是确定保存后)。
我查看了相关文档(Documentation/kbuild/makefiles.txt):
Each subdirectory has a kbuild Makefile which carries out the commands
passed down from above. The kbuild Makefile uses information from the
.config file to construct various file lists used by kbuild to build
any built-in or modular targets.
大概翻译为:
"
每一个子目录都有一个Kbuild Makefile文件,用来执行从其上层目录传递下来的命令。
Kbuild Makefile从.config文件中提取信息,生成Kbuild完成内核编译所需的文件列表。
"
以上翻译来之互联网。
既然是这样,内核就必须读取.config中的内容了吧,但是我检查了相关的Makefile都没找到读取.config文件的位置。
求高手指点一二,小弟先谢谢了
内核在编译之前,需要执行:
make *config
之类的命令,配置结束后,会在源码根目录生成.config文件(当然是确定保存后)。
我查看了相关文档(Documentation/kbuild/makefiles.txt):
Each subdirectory has a kbuild Makefile which carries out the commands
passed down from above. The kbuild Makefile uses information from the
.config file to construct various file lists used by kbuild to build
any built-in or modular targets.
大概翻译为:
"
每一个子目录都有一个Kbuild Makefile文件,用来执行从其上层目录传递下来的命令。
Kbuild Makefile从.config文件中提取信息,生成Kbuild完成内核编译所需的文件列表。
"
以上翻译来之互联网。
既然是这样,内核就必须读取.config中的内容了吧,但是我检查了相关的Makefile都没找到读取.config文件的位置。
求高手指点一二,小弟先谢谢了
作者: new_new_one 发布时间: 2010-08-04
另外补充一点:
(Documentation/kbuild/makefiles.txt)中说道:
The top Makefile reads the .config file, which comes from the kernel
configuration process.
这说明是顶层Makefile读取.config的。但是怎么都找不到读取的地方。
(Documentation/kbuild/makefiles.txt)中说道:
The top Makefile reads the .config file, which comes from the kernel
configuration process.
这说明是顶层Makefile读取.config的。但是怎么都找不到读取的地方。
作者: new_new_one 发布时间: 2010-08-04
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28