Re: Feedback on "kbuild: generate modules.builtin"

From: Steven Rostedt
Date: Sun Sep 20 2009 - 10:41:02 EST


On Sun, 2009-09-20 at 15:28 +0200, Sam Ravnborg wrote:
> On Fri, Sep 18, 2009 at 12:49:29PM -0700, akpm@xxxxxxxxxxxxxxxxxxxx wrote:
> > From: Michal Marek <mmarek@xxxxxxx>
> >
> > To make it easier for tools like mkinitrd to detect whether a needed
> > module is missing or whether it is compiled into the kernel, install a
> > modules.builtin file listing all modules built into the kernel. This is
> > done by generating an alternate config file with all tristate =y options
> > set to =Y and reading the makefiles with this config included. The built
> > in modules then appear in obj-Y.
>
> Hi Michael.
>
> [Added Steven on cc: as he had done some kconfig
> hacking lately].

Thanks!

>
> Got some time (finally) to look at this.

Unfortunately, I'm about to leave for two weeks. I got LinuxCon and
LinuxPlumbers to present at in Portland, then I fly off to Dresden
Germany to present at OSADL conference there. So I wont have anytime to
look at this until I'm done with these.

But please, keep me posted on any changes like this.

Thanks,

-- Steve


> I understand the functionality and I have myself had the need
> to see builtin modules.
>
> As for the implmentation I have a few comments.


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