All of lore.kernel.org
 help / color / mirror / Atom feed
* Howto add TIPC-support into kernel?
@ 2012-10-02  9:23 Jonas Jonsson L
  2012-10-02 13:50 ` Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: Jonas Jonsson L @ 2012-10-02  9:23 UTC (permalink / raw)
  To: Yocto Mailinglist (yocto@yoctoproject.org)

[-- Attachment #1: Type: text/plain, Size: 521 bytes --]

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.

Thanks!

Best regards,
Jonas Jonsson


[-- Attachment #2: Type: text/html, Size: 1035 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Howto add TIPC-support into kernel?
  2012-10-02  9:23 Howto add TIPC-support into kernel? Jonas Jonsson L
@ 2012-10-02 13:50 ` Bruce Ashfield
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2012-10-02 13:50 UTC (permalink / raw)
  To: Jonas Jonsson L; +Cc: Yocto Mailinglist (yocto@yoctoproject.org)

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-10-02 13:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-02  9:23 Howto add TIPC-support into kernel? Jonas Jonsson L
2012-10-02 13:50 ` 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.