On Sun, Oct 20, 2013 at 5:01 PM, Thorsten Glaser <t...@mirbsd.de> 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 -- ge...@linux-m68k.org

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 debian-68k-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAMuHMdWfi4ymGd�+gmuvcbif2pbbpd09kyse8gh6-kzuq...@mail.gmail.com

Reply via email to