All of lore.kernel.org
 help / color / mirror / Atom feed
From: Haris Okanovic <haris.okanovic@ni.com>
To: Diego Sueiro <diego.sueiro@gmail.com>
Cc: Gratian Crisan <gratian.crisan@ni.com>,
	Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH v2] kernel: Add support for multiple kernel packages
Date: Tue, 2 Feb 2016 14:39:42 -0600	[thread overview]
Message-ID: <56B1140E.2070200@ni.com> (raw)
In-Reply-To: <CAMCfZKFzUu7gRsgbw0rNBQZaRcLm7mbF=dZ9mvUx4DJfmSnynQ@mail.gmail.com>

Hi Diego,

On 02/02/2016 10:12 AM, Diego Sueiro wrote:
> Haris,
>
>
> On 19 January 2016 at 22:40, Haris Okanovic <harisokn@gmail.com
> <mailto:harisokn@gmail.com>> wrote:
>
>     Any concerns pulling this into master as-is?
>
>     We briefly discussed the possibility of building out-of-tree modules
>     against multiple kernels back in December, right before this thread
>     died. This change certainly doesn't preclude that improvement if someone
>     would like to implement it, nor does it change current behavior.
>     More importantly, it provides a useful function as-is in our opinion --
>     E.g. to provide a debug kernel in a feed for testing/development
>     activities.
>
>     Thread:
>     http://thread.gmane.org/gmane.comp.handhelds.openembedded.core/72908
>
>
>
> Could you please give examples how kernel recipes look like?
>

Here's a simple recipe to make a debug version linux-yocto. It includes 
the real recipe then overrides KERNEL_PACKAGE_NAME and PROVIDES so that 
two sets of kernel* packages can co-exist in the feed. The other file is 
a kernel config snippet which enables some extra debug options.

[linux-yocto-debug_3.19.bb]
include linux-yocto_3.19.bb
KERNEL_PACKAGE_NAME = "kernel-debug"
PROVIDES = ""
SRC_URI += "file://debug.cfg"

[files/debug.cfg]
CONFIG_DEBUG_INFO=y
CONFIG_FRAME_POINTER=y
CONFIG_LOCKUP_DETECTOR=y
CONFIG_DEBUG_PREEMPT=y
CONFIG_KGDB=y
CONFIG_KGDB_KDB=y
CONFIG_EARLY_PRINTK=y

> I'm particularly interested in this feature.
>
>
> Regards,
>
> --
> *dS
> Diego Sueiro
>
> Administrador do Embarcados
> www.embarcados.com.br
> <http://www.embarcados.com.br/?utm_source=assinatura_diego&utm_medium=e-mail&utm_campaign=Assinatura%20Email%20Diego>
>
> /*long live rock 'n roll*/


  reply	other threads:[~2016-02-02 20:39 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-14 19:06 [PATCH] kernel: Add support for multiple kernel packages Haris Okanovic
2015-12-14 19:17 ` Bruce Ashfield
2015-12-14 20:02   ` Bruce Ashfield
2015-12-14 22:31     ` Haris Okanovic
2015-12-14 22:35     ` [PATCH v2] " Haris Okanovic
2015-12-15  0:33       ` Khem Raj
2015-12-15 19:48         ` Haris Okanovic
2016-01-19 22:40       ` Haris Okanovic
2016-02-02 16:12         ` Diego Sueiro
2016-02-02 20:39           ` Haris Okanovic [this message]
2016-02-03  8:30             ` Diego Sueiro
2015-12-15 16:58     ` [PATCH] " Denys Dmytriyenko
2015-12-15 19:03       ` Martin Jansa
2015-12-15 19:10         ` Denys Dmytriyenko
2015-12-15 19:45           ` Haris Okanovic
2016-10-11 18:36 ` [PATCH v3] " Haris Okanovic

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=56B1140E.2070200@ni.com \
    --to=haris.okanovic@ni.com \
    --cc=diego.sueiro@gmail.com \
    --cc=gratian.crisan@ni.com \
    --cc=openembedded-core@lists.openembedded.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.