Friday, 15 January 2010

linux - when I run make menuconfig or make config how it works? -



linux - when I run make menuconfig or make config how it works? -

in new kernel bundle there 2 config files within arch/x86/configs :

i386_defconfig 2. x86_64_defconfig

when did create menuconfig, generate .config file. has default setting also. where, take these default setting ? used 1 of these files or used /boot directory or else

same question create config.

no, won't pick config file /boot

it first determines processor/os architecture $machtype of scheme unless explicitly mention "arch=" variable in "make arch=arm menuconfig",

say

echo $machtype

x86_64-pc-linux-gnu

then based on found architecture, gets apt defconfig file arch/found_arch/configs/apt_def_config_file

linux linux-kernel kernel

No comments:

Post a Comment