[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Linux 3.1-2-m68k config



On Sun, Oct 20, 2013 at 5:01 PM, Thorsten Glaser <tg@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 -- geert@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


Reply to: