I copied myconfig file, into /tmp/build/.config

And, make O=/tmp/build/ vmlinux.

And it keeps asking me to config again.

I tried to make O=/tmp/build menuconfig, and load the myconfig.

Still, before compiling proceeds, the /tmp/build/.config was altered.

I just want to compile the Linux kernel with the specific .config file.

  • 4
    Your .config is from an older kernel, and kernel want you to set the new config lines, which are missing from yours. Do make menuconfig – Ipor Sircer Sep 21 '16 at 7:08

You need to copy your existing kernel config file before compiling:

cp /boot/config-$(uname -r) .config
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.