Recursively disabling CONFIG dependencies on linux kernel builds

Posted by Corey Henderson on Stack Overflow See other posts from Stack Overflow or by Corey Henderson
Published on 2011-06-26T01:31:03Z Indexed on 2011/06/26 8:22 UTC
Read the original article Hit count: 190

Filed under:
|
|

When configuring a Linux kernel, I normally start with my distribution's kernel config file. I often want to turn off some entries, but they are sometimes unchangeable because other CONFIG options that depend on it are enabled.

I can look up the dependencies manually, which often have dependencies of their own. It can be pretty time consuming to did through them all, especially if you're trying to turn off something like CONFIG_KALLSYMS.

Is there a way to specify a CONFIG option you want gone, and have all dependencies automatically selected/disselected as nessisary for you? I looked through all the make options and in the scripts directory, and didn't see anything available for this.

© Stack Overflow or respective owner

Related posts about linux

Related posts about make