* Adding kernel module to rootfs without changing machine's configuration
@ 2016-04-18 6:54 Yigal Reiss (yreiss)
2016-04-18 12:20 ` Bruce Ashfield
0 siblings, 1 reply; 2+ messages in thread
From: Yigal Reiss (yreiss) @ 2016-04-18 6:54 UTC (permalink / raw)
To: yocto@yoctoproject.org
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?
Thanks,
Yigal
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Adding kernel module to rootfs without changing machine's configuration
2016-04-18 6:54 Adding kernel module to rootfs without changing machine's configuration Yigal Reiss (yreiss)
@ 2016-04-18 12:20 ` Bruce Ashfield
0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2016-04-18 12:20 UTC (permalink / raw)
To: Yigal Reiss (yreiss), yocto@yoctoproject.org
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-04-18 12:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-18 6:54 Adding kernel module to rootfs without changing machine's configuration Yigal Reiss (yreiss)
2016-04-18 12:20 ` Bruce Ashfield
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.