[yocto] Which .bbappend file ?
Rick Bianchi
bianchirickkutta at gmail.com
Sat Mar 1 20:20:49 PST 2014
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
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140301/7c7541ff/attachment.html>
More information about the yocto
mailing list