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 from this list: send the line "unsubscribe linux-m68k" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to