Hi Diego,

On 02/02/2016 10:12 AM, Diego Sueiro wrote:
Haris,


On 19 January 2016 at 22:40, Haris Okanovic <[email protected]
<mailto:[email protected]>> 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*/
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to