make oldconfig 和 make defconfig有何区别?
时间:2011-08-25
来源:互联网
在配置内核时如果执行
Assembly code
那么make直接按照默认值生成.config。提示信息如下:
Assembly code
但是,如果在源码目录中没有.config文件的情况下执行
Assembly code
那么make的提示如下:
Assembly code
两者都用'i386_defconfig',为什么需要用户回答一些问题?这好像与make defconfig不太一样,make oldconfig有什么特殊考虑吗?
Assembly code
make defconfig
那么make直接按照默认值生成.config。提示信息如下:
Assembly code
*** Default configuration is based on 'i386_defconfig' # # configuration written to .config #
但是,如果在源码目录中没有.config文件的情况下执行
Assembly code
make oldconfig
那么make的提示如下:
Assembly code
scripts/kconfig/conf -o arch/x86/Kconfig # # using defaults found in arch/x86/configs/i386_defconfig # * * Restart config... * * * General setup * Prompt for development and/or incomplete code/drivers (EXPERIMENTAL) [Y/n/?] y Local version - append to kernel release (LOCALVERSION) [] Automatically append version information to the version string (LOCALVERSION_AUTO) [N/y/?] n Kernel compression mode > 1. Gzip (KERNEL_GZIP) 2. Bzip2 (KERNEL_BZIP2) 3. LZMA (KERNEL_LZMA) 4. LZO (KERNEL_LZO) (NEW) choice[1-4?]:
两者都用'i386_defconfig',为什么需要用户回答一些问题?这好像与make defconfig不太一样,make oldconfig有什么特殊考虑吗?
作者: jet8 发布时间: 2011-08-25
http://www.51testing.com/?uid-225738-action-viewspace-itemid-237838
作者: zmlovelx 发布时间: 2011-08-26
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28