What is the proper way to create a recipe to build a kernel module
outside of the normal kernel tree?

The kernel sources need to be expanded and configured for the typical
kernel makefile line

make -C $(KERNEL_SRC) M=$(PWD) V=1 ARCH=$(ARCH) \
CROSS_COMPILE=$(CROSS_COMPILE) modules

to work.

Are there any sample/stubs available that demonstrate building and
deploying a simple kernel module?

TIA
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#48669): https://lists.yoctoproject.org/g/yocto/message/48669
Mute This Topic: https://lists.yoctoproject.org/mt/71701257/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to