[yocto] bitbake cannot locate source file from recipe

peterengcomau001 at adam.com.au peterengcomau001 at adam.com.au
Mon Dec 29 00:19:32 PST 2014


I am trying to modify my device tree build to include a slightly
modifed version.

I have created the recipe linux-yocto-custom_3.10.bbappend that
contains the following:

PR = "r5"
FILESEXTRAPATHS_prepend := "${THISDIR}/files/sama5d3xek: "
SRC_URI += " file://sama5d3xek_lsp.dts "
KERNEL_DEVICETREE += " sama5d3xek_lsp.dtb"

do_install_prepend () {
    cp ${WORKDIR}/sama5d3xek_lsp.dts
${WORKDIR}/linux/arch/${ARCH}/boot/dts
}

I fget the error from bitbake as follows:

Log data follows:
| DEBUG: Executing shell function do_install
| cp: cannot stat
'/home/lachlan/poky/build-atmel/tmp/work/sama5d3xek-poky-linux-gnueabi/linux-yocto-custom/3.10+AUTOINC+35158dd80a-r5/sama5d3xek/sama5d3xek_lsp.dts':
No such file or directory

The source file is located in the append recipes subdirectory
files/sama5d3xek/

Can anyone suggest why the source dts file is not being made
available ? I am sure it is a simple mistake!

Thanks for any pointers.
Lachlan

---- Message sent via Adam Internet WebMail - http://www.adam.com.au/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20141229/f5de36d3/attachment.html>


More information about the yocto mailing list