On Wed, Oct 9, 2024 at 2:37 AM Jesus Jimenez Sanchez via lists.yoctoproject.org <Jesus.JimenezSanchez=verifone....@lists.yoctoproject.org> wrote: > > Hello, > > I wanted to add that I have been able to enable the driver using menuconfig > by enabling its dependencies. > > The problem I'm facing now is that Yocto is not building the kernel object > files (.ko), not even the ones it was building before. As far as I know I > have only changed the configuration to build this new driver but I could be > wrong and maybe touche where I shouldn't. > > Is there a way to tell Yocto to build those kernel objects?
depending upon which kernel recipe is in use you might be able to use kernel config fragments where you add a file with needed configs which is then merged into the final .config file by build system, linux-yocto kernel uses this method extensively. Create something like bt.cfg with BT_QCA = m and then add bt.cfg to SRC_URI this should hopefully enable the driver and emit it as a separate output package like kernel-module-btqca or somesuch. Which you can add to your image via MACHINE_EXTRA_RRECOMMENDS:append = " kernel-module-btqca" in machine conf or local.conf file. > > Thank you. > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#63994): https://lists.yoctoproject.org/g/yocto/message/63994 Mute This Topic: https://lists.yoctoproject.org/mt/108890949/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-