surfingbean 发表于 2003-4-9 15:20:25

/usr/src/linux/.config: questi

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!!

Dragonfly 发表于 2003-4-9 21:33:57

yes, u are right. i remember that this should be ok.

maso 发表于 2003-4-9 23:12:31

nod
: )

llc 发表于 2003-4-9 23:14:07

确实是这样,不过,建议copy .config前,先make mrproper,再copy,再make dep...

Dragonfly 发表于 2003-4-9 23:24:54

:-Dforget 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.

surfingbean 发表于 2003-4-10 09:42:15

thanks, everybody! :mrgreen:

llc 发表于 2003-4-10 12:25:27

:-Dforget 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.

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

Dragonfly 发表于 2003-4-10 22:43:19

nod, u give the final solution
页: [1]
查看完整版本: /usr/src/linux/.config: questi