Mind Chasers Inc.
Mind Chasers Inc.

Note: Forum is in alpha testing. Please email us with any problems or issues you encounter. Thank you!

How do I build a Linux kernel so it has the .config available?

Sep 17, 2020 asked by anonymous
share
subscribe to mailing list:

Question / Issue:

I see that some kernel builds have a config file under /proc. How is this done?

Responses:

Date: Sept. 17, 2020

Author: Mind Chasers

Comment:

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 ...

Post your answer or comment:

your email address will be kept private
authenticate with a 3rd party for enhanced features, such as image upload
previous month
next month
Su
Mo
Tu
Wd
Th
Fr
Sa
loading