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?

  • Are you sure you make the make options? The kernel configuration options are certainly captured, but some of the other options passed to the make process are not stored in the configuration. – robbat2 Mar 28 '17 at 0:10

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/config – ivanivan Mar 27 '17 at 17:25
  • 1
    That'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_PROC – Bruno9779 Mar 27 '17 at 17:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.