Quantcast
Channel: Active questions tagged kernel - Stack Overflow
Viewing all articles
Browse latest Browse all 6382

linux kernel .config file variable and its corresponding source code

$
0
0

I understand how to recompile a kernel for myself. Firstly, I run make menuconfig or xconfig to generate a .config file. And I also understand the variables in .config file are like switches to constrol what will be included in the kernel to build and what not.

And recently i am intertested in how to variables in .config file affect the process of kernel building. More specifically, I want to know which part of the linux source code is "switched " by the specific config variable, and my job now is to extract the specific code.

For example, I want to know how "CONFIG_GCC_VERSION" variable affect the kernel build process, and which part code it will switch on or switch off.

Thx.


Viewing all articles
Browse latest Browse all 6382

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>