QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1111|回复: 7

/usr/src/linux/.config: questi

[复制链接]
发表于 2003-4-9 15:20:25 | 显示全部楼层 |阅读模式
i learned that the configurations settled with i.e. menuconfig is stored in /usr/src/ linux/.config
so i guess the next steps: make dep, make bzImage...  will compile the kernel according to .config
if that is true, i just have to save several .config files as other names. and when i need one of them, i can just name it ".config" and compile it. consequently, i don't need settle the options by menuconfig.  can anyone comfirm?
thanks!!
发表于 2003-4-9 21:33:57 | 显示全部楼层
yes, u are right. i remember that this should be ok.
回复

使用道具 举报

发表于 2003-4-9 23:12:31 | 显示全部楼层
nod
: )
回复

使用道具 举报

发表于 2003-4-9 23:14:07 | 显示全部楼层
确实是这样,不过,建议copy .config前,先make mrproper,再copy,再make dep...
回复

使用道具 举报

发表于 2003-4-9 23:24:54 | 显示全部楼层
  forget to mention this. this can solve u much time when u meet big problems. but as i know, unless u change some improtant settings like smp support,  and if u only change some device setting, u can omit this step and save some time.
回复

使用道具 举报

 楼主| 发表于 2003-4-10 09:42:15 | 显示全部楼层
thanks, everybody!
回复

使用道具 举报

发表于 2003-4-10 12:25:27 | 显示全部楼层
[quote:624d223cc0="cheungming"]  forget to mention this. this can solve u much time when u meet big problems. but as i know, unless u change some improtant settings like smp support,  and if u only change some device setting, u can omit this step and save some time.[/quote]

同意,如果先前编译过内核,现在要修改+重新编译,只要你的内核配置相比以前的配置不是改动太离谱,直接make dep和make bzImage会省下很多时间,但有时可能会出错;如果真不幸出错了,只好先备份.config,先make mrproper,再恢复.config,再make dep完完全全重来一遍
回复

使用道具 举报

发表于 2003-4-10 22:43:19 | 显示全部楼层
nod, u give the final solution
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-9-19 18:56 , Processed in 0.063992 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表