How do I build a Linux kernel so it has the .config available?
Sep 17, 2020 asked by anonymous
Question / Issue:
I see that some kernel builds have a config file under /proc. How is this done?
Date: Sept. 17, 2020
Author: Mind Chasers
Take a look at the help in init/Kconfig under IKCONFIG_PROC: config IKCONFIG_PROC bool "Enable access to .config through /proc/config.gz" depends on IKCONFIG && PROC_FS help This option enables access to the kernel configuration file through /proc/config.gz. Therefore, make sure CONFIG_IKCONFIG_PROC is set to true: $ more .config ... CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y ...