Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

2 Answers 2

up vote 9 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
2  
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
add comment

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
add comment

Your Answer

 
discard

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.