[yocto] bbappend - Where should my file be?

Bruce Ashfield bruce.ashfield at windriver.com
Thu Aug 11 17:28:20 PDT 2011


On 11-08-11 7:57 PM, Scott Garman wrote:
> On 08/11/2011 04:51 PM, Chris Tapp wrote:
>> 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
>
> It looks like this is where the file is expected.
>
> I believe also meta/recipes-kernel/linux/linux/defconfig should also work.

Yep, bitbake is telling us where it is looking. The -wrs_git is the
extension to the recipe, so that isn't where it is looking.

On another note, there's been a lot of fixes to the kern tools to
improve the process for adding BSPs and extending the tree (and
one defconfig bug fix), so I'll be interested to hear how this
goes.

Bruce

>
> Scott
>




More information about the yocto mailing list