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.