Haris, On 2 February 2016 at 20:39, Haris Okanovic <haris.okano...@ni.com> wrote:
> 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 > Thanks for the info. Nice job, hope that it can be up-streamed since this use case is quite common in a product development life cycle. 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 Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core