[yocto] writeup on the mechanics of FILESEXTRAPATHS and bbappend files

Gary Thomas gary at mlbassoc.com
Wed Apr 17 08:42:26 PDT 2013


On 2013-04-17 09:34, Robert P. J. Day wrote:
> On Wed, 17 Apr 2013, Gary Thomas wrote:
>
>> On 2013-04-17 09:03, Paul Eggleton wrote:
>>> On Wednesday 17 April 2013 10:24:42 Robert P. J. Day wrote:
>>>>     a while back, i dug into how FILESEXTRAPATHS worked with respect to
>>>> .bbappend files and i wrote it up, just updated it a bit here:
>>>>
>>>> http://www.crashcourse.ca/wiki/index.php/FILESEXTRAPATHS_and_bbappend_files
>>>>
>>>> do i have it about right? it seemed that the underlying details
>>>> weren't really explained well in any of the current yocto docs, and i
>>>> wanted something i could point students at.
>>>
>>> It looks OK to me although if you're going to point students at it I might
>>> suggest moving the "don't look here!" stuff elsewhere ;)
>>>
>>> Also as I believe I mentioned before, FILESEXTRAPATHS adds not just one
>>> directory but an "entire list of directories" is it allows bbappend file
>>> path
>>> behaviour to match that of the recipe itself.
>>
>> I also think it would be good to point out the use of := in the
>> FILESEXTRAPATHS assignment and why it's important.
>
>    done:
>
> http://www.crashcourse.ca/wiki/index.php/FILESEXTRAPATHS_and_bbappend_files#Adding_the_meta-yocto_layer_and_building_for_a_BeagleBoard

Thanks.  You might add a comment about what happens if you do it wrong (I should know!)
that it will search in the directory that has the .bb file and not the .bbappend.

>
> i'm already unhappy with the way that whole page is written so i'll
> redesign it this weekend, and maybe add a bit more. i just remember it
> taking me a while to truly understand what was happening there so i
> figured i'd better write it down before i forgot.
>
> rday
>

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the yocto mailing list