Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In linux, I thought that the file Makefile is changed after I run make menuconfig.

But when I diff Makefile, I don't see any difference.

Which file is changed after I do make menuconfig?

share|improve this question
up vote 11 down vote accepted

In general, after a make menuconfig or make config, the .config file is changed. This file describes which options are choosen and will tell make and Makefile which file to compile and which options to activate.

As said by @Lekensteyn, the previous config file will be renamed in .config.old

share|improve this answer
It may be useful to know that the previous .config file (before running targets like menuconfig) is moved to .config.old. – Lekensteyn Mar 11 '12 at 20:30
thank you...... – Anders Lind Mar 12 '12 at 0:05

In general, you may use

find /usr/src/linux -mmin -10

to find files, modified in the last 10 Minutes yourself in said directory. This would lead to the result Cédric Julien gave: .config.

share|improve this answer
helpful infomation.thanks – Anders Lind Mar 12 '12 at 0:04

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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