[yocto] bbappend - Where should my file be?

Chris Tapp opensource at keylevel.com
Thu Aug 11 16:51:45 PDT 2011


I've got a linux-wrs_git.bbappend file in a layer (under poky laverne  
4.0.1) that contains:

COMPATIBLE_MACHINE_Vortex86DX = "Vortex86DX"
WRMACHINE_Vortex86DX  = "common_pc"

FILESEXTRAPATHS := "${THISDIR}/${PN}"

SRC_URI += " file://defconfig"

Where should the defconfig file be relative to the bbappend?

I've tried:

MyLayer
       +--- recipies
                   +--- linux
                            +--- linux-wrs_git.bbappend
                            +--- linux-wrs_git
                                             +--- defconfig


However, my defconfig file isn't being picked up during do_unpack:

cp: cannot stat `/home/chris/yocto/yocto-versions/laverne-4.0.1/meta/ 
recipes-kernel/linux/files/defconfig': No such file or directory
NOTE: Unpacking /home/chris/yocto/yocto-downloads/ 
git_git.pokylinux.org.linux-2.6-windriver.git.tar.gz to /home/chris/ 
yocto/mbox-3300-build/tmp/work/Vortex86DX-poky-linux/linux- 
wrs 
-2.6.34 
+ 
git0 
+ 
b67e060194a38c6331da1532bd06446087a42b3b_0 
+0431115c9d720fee5bb105f6a7411efb4f851d26-r12/
NOTE: Unpacking /home/chris/yocto/yocto-versions/laverne-4.0.1/meta/ 
recipes-kernel/linux/files/defconfig to /home/chris/yocto/mbox-3300- 
build/tmp/work/Vortex86DX-poky-linux/linux- 
wrs 
-2.6.34 
+ 
git0 
+ 
b67e060194a38c6331da1532bd06446087a42b3b_0 
+0431115c9d720fee5bb105f6a7411efb4f851d26-r12/
ERROR: Task failed:

Which seems to show that it's not looking in FILESEXTRAPATHS.

The .bbappend file seems to be processed, as commenting out the  
SRC_URI line gets rid of the error.

What have I got wrong?

Chris Tapp

opensource at keylevel.com
www.keylevel.com






More information about the yocto mailing list