All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bruce Ashfield <bruce.ashfield@windriver.com>
To: Jonas Jonsson L <jonas.l.jonsson@ericsson.com>
Cc: "Yocto Mailinglist \(yocto@yoctoproject.org\)" <yocto@yoctoproject.org>
Subject: Re: Howto add TIPC-support into kernel?
Date: Tue, 2 Oct 2012 09:50:38 -0400	[thread overview]
Message-ID: <506AF12E.6090009@windriver.com> (raw)
In-Reply-To: <C1024C359E9D4C4EBC664A0111A52A3F7CFB32F185@ESESSCMS0355.eemea.ericsson.se>

On 12-10-02 05:23 AM, Jonas Jonsson L wrote:
> Hi!
> I'm writing a recipe for a piece of software that requires TIPC support
> in the kernel. I've tried to figure out a way to accomplish this within
> my bb-file, but with no success. Is there a way to do such thing with
> Yocto, currently I run 'bitbake -c menuconfig linux-yocto' (or is it
> yocto-linux, can't recall) and then I add 'kernel-modules' to
> IMAGE_INSTALL_append in my 'local.conf'-file? I would like to have this
> dependency some-how contained within my recipe.

Are you primarily concerned with getting the kernel options enabled and
then the built modules installed onto your target ? (I ask because
TIPC userspace can come into play .. depending on your usecase).

If so, you'd want to add a linux-yocto_3.4.bbappend (assuming you are
using the 3.4 kernel) to your layer, and put your options into a .cfg
fragment that you append to the SRC_URI (just like any patch or other
file). Those options will be added to the config on your next build and
installed.

In that same layer, you can add kernel-modules to IMAGE_INSTALL and
you'll get the build and install whenever the layer is active.

There are other ways to do this as well, but what I have above is
what I typically do in a distro or BSP layer.

Cheers,

Bruce


> Thanks!
> Best regards,
> Jonas Jonsson
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



      reply	other threads:[~2012-10-02 13:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-02  9:23 Howto add TIPC-support into kernel? Jonas Jonsson L
2012-10-02 13:50 ` 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=506AF12E.6090009@windriver.com \
    --to=bruce.ashfield@windriver.com \
    --cc=jonas.l.jonsson@ericsson.com \
    --cc=yocto@yoctoproject.org \
    /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.