Re: how to find out which module was built by which .config variables?

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

 



On Fri, 3 Mar 2006, Alexander Mieland wrote:

> Am Friday 03 March 2006 14:35 schrieben Sie:
> > >Hello,
> > >
> > >I need to create a database with configuration options (the ones
> > >in .config) and the resulting kernel modules.
> >
> > Let's pick 8139too.ko for example.
> > Find /usr/src/linux -name 8139too.ko
> > In that same directory, look at the Makefile:
> > obj-$(CONFIG_8139TOO) += 8139too.o
>
> Ahh, great, this helps much more!
> Thanks. ;)
>

I have a perl script that reads the current modules, Kconfigs and
makefiles that I use to trim the .config to a minimum.  I does do what you
ask.  Basically find the options that match the modules.

It's here:

http://www.kihontech.com/code/streamline_config.pl

-- Steve
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux