[yocto] Issue installing External Kernel Module with same name

Ankur Patel ankur at embertec.com
Thu Mar 13 23:00:48 PDT 2014


Hello Friends,

I am using Poky version of Yocto for building images for imx28 evk.

I have to included the receipe which builds the TI Comapt Wifi Driver as External Module and adds itself to the core-minimal-image.

Below line is used under the layer.conf file to add TI WiFi Driver to rootfs:

MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "ti-compat-wireless-wl18xx"

Now the problem is, as kernel also builds the wifi driver modules based on the same .config file used by external driver module. This generates two different rpm images for same wifi driver at tmp/deploy/rpm/imx28evk directory as below:

test at test-VirtualBox:~/mx28_repo/mx28_build/tmp/deploy/rpm/imx28evk$ ls kernel-module-wl18xx-*
kernel-module-wl18xx-3.10.32+git-r0.imx28evk.rpm
kernel-module-wl18xx-r8.a8.08-0b.imx28evk.rpm

The Final rootfs contains the .ko files from "kernel-module-wl18xx-3.10.32+git-r0.imx28evk.rpm
" RPM instead of "kernel-module-wl18xx-r8.a8.08-0b.imx28evk.rpm".

Is there any way to modify the linux receipe not create RPMs for specific modules? Or Install specific kernel module with version as r8.a8.08-0b for wl18xx?

Please feel free to share if you need further information.

Thank you,
Ankur
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140314/9b8d175a/attachment.html>


More information about the yocto mailing list