On Sun, Oct 20, 2013 at 5:01 PM, Thorsten Glaser <[email protected]> wrote:
> One pet peeve of mine is that I don’t know which of the tristate
> options add “common code” (such as hooks) and which, when set to
> ‘m’, do _not_ add something to vmlinux.

To find code that's compiled if a tristate symbol is "m":

git grep "\<CONFIG_[^ ]*_MODULE\>"

This is not necessariy code in vmlinux; it can be code in another module.

And in Makefile logic:

git grep "\<CONFIG_[^ ]*\>.*\m=y" -- "*Makefile"

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
http://lists.debian.org/CAMuHMdWfi4ymGd�[email protected]

Reply via email to