[yocto] Building kernel modules as dependencies

Andreas Galauner andreas at galauner.de
Sun Jun 29 00:33:30 PDT 2014


On 29/06/14 07:33, Christian Ege wrote:
> Hi Andreas,
> 
>> I created recipes for two out-of-tree kernel modules written by myself
>> in Yocto. I added these two modules in the machine config to
>> MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS or even
>> MACHINE_ESSENTIAL_EXTRA_RDEPENDS.
> Have you used the name of your recipe or kernel-module-my-module-name?

It was kernel-module-my-module-name. All underscores in the module name
replaced with hyphens. I also tried underscores.

Like this:
> MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "\
> 	kernel-module-rpmsg-unicast \
> 	kernel-module-rpmsg-broadcast \
> 	"

And I just replaced it with the name of the package itself and now it
works fine.

Like this:
> MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "\
> 	rpmsg-unicast \
> 	rpmsg-broadcast \
> 	"

Thanks anyway!

- Andy




More information about the yocto mailing list