Alex Rivera | Logout

What does "make oldconfig" do exactly in the Linux kernel makefile?

Asked 2010-11-14T16:52:49.357
106

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.

Edit
Report

2 Answers

150

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.

answered 2010-11-14T17:02:04.243
3

Updates an old config with new/changed/removed options.

answered 2010-11-14T17:01:53.747

Your Answer