On 2016-04-18 2:54 AM, Yigal Reiss (yreiss) wrote:
I am able to add a kernel module to the rootfs by appending it to the
MACHINE_EXTRA_RDEPENDS of the <platform>.conf under the machine folder of the
BSP. E.g. for adding nfq:
MACHINE_EXTRA_RDEPENDS += "kernel-module-xt-multiport ...
kernel-module-xt-nfqueue"
I would like to make the override (i.e. add my own kernel module, and possibly
apply kernel patches) from my own layer without touching the provided BSP
layer. Is this possible?
It is possible. The kernel recipe, and the MACHINE_EXTRA_RDEPENDS, are just
like any other recipe and variable in the system.
If you have your own layer, you can bbappend the kernel recipe to add
patches
and in your .conf files, you can append to the extra_rdepends.
Bruce
Thanks,
Yigal
--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto