currently have a perfectly functioning zeus-based layer with a small number of out-of-tree kernel modules which build just fine with:
$ bitbake kernel-module-fubar against the stock linux-yocto (5.2) kernel provided by zeus. was just asked how to build those same out-of-tree modules against an external kernel identified by (i'm guessing) EXTERNALSRC. i don't need to build the kernel itself, just configure it to the point (a la "make modules_prepare") so that i can build modules against it. specifying an external source for the kernel seems easy enough, but i don't see how to then get the modules to build against that. a quick google showed me: https://wiki.koansoftware.com/index.php/Building_Software_from_an_External_Source "Depending on the type of build (eg, 'inherit module' for out of tree Linux kernel modules) you may or may not need to set EXTERNALSRC_BUILD." that explanation seems a bit on the vague side ... is there an explanation of this somewhere? i can't modify recipes, i need to do this exclusively through local.conf. thoughts? this seems like a useful enough operation that surely others have done it before now. rday
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#50268): https://lists.yoctoproject.org/g/yocto/message/50268 Mute This Topic: https://lists.yoctoproject.org/mt/76155801/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
