Where is .config file is stored to make target linux image for a device

Viewed 533

I am attempting to compile a custom linux kernel with target device drivers defined in .config file.

When I open Github i can see the .config file is in the master/blob

However, once I download the repository, I cant find that .config file, but when i compile using makefile, it selects right device drivers.

So where exactly is .config is located?

1 Answers

So where exactly is .config is located?

In the top-level directory of the kernel source; that is, the same directory from which you would issue the 'make' command to build the kernel.

Beware that the .config file is a hidden file; a filename that begins with a period is considered hidden.
Be sure you are using the proper commands/tools that would show all files in a directory.

Related