0
votes

I can't find how to add a 3rd-party ko file into the /lib/modules/.../extra directory with Yocto. I can find plenty of documentation how to build an out-of-tree module from source code. But I only have a ko file, not the source code. Modifying the hello-mod.bb to a 'just install, do not make' makefile is not working.

BREF: could somebody point me to a good example how to do?

2

2 Answers

1
votes
SRC_URI += "file://module.ko"

do_install() {
    install -m 0644 module.ko ${D}/lib/modules/
}
-1
votes

If you have to build the module with yocto then you have to make a recipe as well. A nice explanation is given here:

yocto manual