8

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?

Pro Backup
  • 3,170
  • 3
  • 24
  • 33
Anders Lind
  • 275
  • 3
  • 4
  • 8

2 Answers2

12

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

Cédric Julien
  • 2,797
  • 1
  • 26
  • 31
  • 4
    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
11

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.

user unknown
  • 6,447
  • 3
  • 34
  • 63