“make oldconfig"是什么意思?究竟在Linux内核makefile中做什么? [英] What does "make oldconfig" do exactly in the Linux kernel makefile?

查看:36
本文介绍了“make oldconfig"是什么意思?究竟在Linux内核makefile中做什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

谁能解释一下目标oldconfig"在 Linux 内核 makefile 中究竟做了什么?我在一些构建文档中看到了它的引用,但从未解释过它究竟是做什么的.

Can anyone explain what the target "oldconfig" does exactly in the Linux kernel makefile? I see it referenced in some build documentation but never explained what it does exactly.

推荐答案

它读取用于旧内核的现有 .config 文件,并提示用户选择当前内核源代码中的选项在文件中找不到.这在采用现有配置并将其移动到新内核时非常有用.

It reads the existing .config file that was used for an old kernel and prompts the user for options in the current kernel source that are not found in the file. This is useful when taking an existing configuration and moving it to a new kernel.

这篇关于“make oldconfig"是什么意思?究竟在Linux内核makefile中做什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆