[oe-users] How to add kernel modules to the file system image?
Cliff Brake
cliff.brake at gmail.com
Tue Aug 14 17:21:55 UTC 2007
On 8/14/07, Panayot Daskalov <panayot.daskalov at mps.bg> wrote:
> but I have stuck with this annoying issue with
> adding kernel modules to the final file system image. In my kernel
> configuration file I've some of the drivers and kernel features, like
> vfat support, sound drivers etc, set to be compiled as loadable modules.
> I verified that these modules are actually build because I can find them
> in the /tmp/work/mykerneldir/linux-2.6.17.14/..., but I cannot make OE
> to add them to the resulting file system image, to run depmod on them
> etc. all the things needed to be done normally in this case. I looked at
> the other kernel recipes, module.bbclass file, tried using
> kernel-module-*** variable (still I don't understand what this is for),
> searched a lot (OE user manual, mailing list, google), but still can not
> find an answer.
Kernel modules are packaged using ipkg just like anything else. Look
in tmp/deploy/.../ipk/... and should see a bunch of
kernel-module...ipk files. To add them to your image, you need to add
a run-time dependency somewhere (RDEPEND). This can be about
anywhere, but one place is your local.conf file?
DISTRO_EXTRA_RDEPENDS += "\
kernel-module-mmc-block \
kernel-module-mmc-core \
kernel-module-pxamci \
kernel-module-ac97-bus \
kernel-module-ucb1400-ts \
kernel-module-evdev"
Cliff
--
=======================
Cliff Brake
http://bec-systems.com
More information about the Openembedded-users
mailing list