I remember there is a way(command) to check the makefile(make) options that distribution developers used them to build the kernel of current distribution. Is my memory wrong?
1 Answer
To show the compile flags of the running kernel:
cat /boot/config-`uname -r` - If the distributers included the file... Also there used to be a kernel option to include the config in the kernel file itself, if that was enabled it would be at /proc/configivanivan– ivanivan2017-03-27 17:25:01 +00:00Commented Mar 27, 2017 at 17:25
- 1That's right, stilll I can't think of a distro that doesn''t include it nowadays. I think the kernel option you mention is
CONFIG_IKCONFIG_PROCBruno9779– Bruno97792017-03-27 17:49:33 +00:00Commented Mar 27, 2017 at 17:49
makeoptions? The kernel configuration options are certainly captured, but some of the other options passed to the make process are not stored in the configuration.