Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
250 views
in Technique[技术] by (71.8m points)

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

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?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...