[yocto] Which .bbappend file ?

Khem Raj raj.khem at gmail.com
Sat Mar 1 20:54:21 PST 2014


On Sat, Mar 1, 2014 at 8:20 PM, Rick Bianchi <bianchirickkutta at gmail.com> wrote:
> Okay, I am feeling a little thick, but here is my question.
>
> How do I know which .bbappend file is the right one to modify.
>
> Here is everything that would be in my layers:
>
> /yocto/poky/meta/recipes-kernel/linux/linux-yocto
> /yocto/poky/meta/recipes-kernel/linux/linux-yocto-dev.bb
> /yocto/poky/meta/recipes-kernel/linux/linux-yocto-rt_3.2.bb
> /yocto/poky/meta/recipes-kernel/linux/linux-yocto-rt_3.4.bb
> yocto/poky/meta/recipes-kernel/linux/linux-yocto-rt_3.8.bb
> /yocto/poky/meta/recipes-kernel/linux/linux-yocto-tiny_3.2.bb
> /yocto/poky/meta/recipes-kernel/linux/linux-yocto-tiny_3.4.bb
> /yocto/poky/meta/recipes-kernel/linux/linux-yocto-tiny_3.8.bb
> /yocto/poky/meta/recipes-kernel/linux/linux-yocto.inc
> /yocto/poky/meta/recipes-kernel/linux/linux-yocto_3.2.bb
> /yocto/poky/meta/recipes-kernel/linux/linux-yocto_3.4.bb
> /yocto/poky/meta/recipes-kernel/linux/linux-yocto_3.8.bb
>
>

well you should know which kernel is in use you can also ask bitbake

bitbake -s | grep linux-yocto

It should tell you which version of linux-yocto is being used.

>
>
> Generally speaking, the preferred approach is to determine the incremental
> change you want to make and add that as a configuration fragment. For
> example, if you want to add support for a basic serial console, create a
> file named 8250.cfg in thefiles directory with the following content
> (without indentation):
>
>      CONFIG_SERIAL_8250=y
>      CONFIG_SERIAL_8250_CONSOLE=y
>      CONFIG_SERIAL_8250_PCI=y
>      CONFIG_SERIAL_8250_NR_UARTS=4
>      CONFIG_SERIAL_8250_RUNTIME_UARTS=4
>      CONFIG_SERIAL_CORE=y
>      CONFIG_SERIAL_CORE_CONSOLE=y
>
>
> Next, include this configuration fragment and extend the FILESPATH variable
> in your .bbappend file:
>
>      FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
>      SRC_URI += "file://8250.cfg"
>
>
> Thanks,
> Rick
>
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>



More information about the yocto mailing list