0

We know that to build a new custom kernel on the existing old kernel we have to run 'make oldconfig' first. This command will ask us about the new configuration options added in the current release. How the things work exactly here. I mean how one can say in general that a feature is new in the kernel.

Ganapathi Bhat
  • 137
  • 2
  • 7
  • If it doesn't appear in the old `.config` file, including its commented out lines, then it is considered to be a new option. This can cause problems when options are renamed or otherwise reorganised, as the old settings of options that have been replaced may not be remembered for the replacement options. – Ian Abbott Jun 08 '16 at 13:33
  • Let us make the point clear. Say a new feature is added in a driver, under the flag CONFIG_XXX. Now, we run "make oldconfig", say. How does kbuild decide to prompt whether to enable this feature or not "[N/y/?] (NEW)". Does it refer kconfig files. – Ganapathi Bhat Jul 25 '16 at 17:22

0 Answers0