lkml.org 
[lkml]   [2009]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] kbuild: generate modules.builtin
    From
    Date
    On Wed, 2009-05-27 at 23:26 +0200, Kay Sievers wrote:

    > On Tue, May 26, 2009 at 17:25, Michal Marek <mmarek@suse.cz> wrote:
    > > 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.
    >
    > That looks very useful.
    >
    > We like to have that for modprobe not to throw an error if a "module"
    > is already in the kernel, because it is compiled in. Only modules with
    > parameters show up in /sys/modules/ and they are already handled fine.
    >
    Agree, this helps us support both distro kernels with some built-ins and
    modular kernels.

    Scott
    --
    Scott James Remnant
    scott@ubuntu.com
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2009-05-27 23:41    [W:0.021 / U:59.876 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site