All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bruce Ashfield <bruce.ashfield@windriver.com>
To: "Yigal Reiss (yreiss)" <yreiss@cisco.com>,
	"yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: Adding kernel module to rootfs without changing machine's configuration
Date: Mon, 18 Apr 2016 08:20:44 -0400	[thread overview]
Message-ID: <5714D11C.4040404@windriver.com> (raw)
In-Reply-To: <690f5e51a76642d689429a2a29067083@XCH-RTP-014.cisco.com>

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



      reply	other threads:[~2016-04-18 12:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5714D11C.4040404@windriver.com \
    --to=bruce.ashfield@windriver.com \
    --cc=yocto@yoctoproject.org \
    --cc=yreiss@cisco.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.