[yocto] FILESEXTRAPATHS needs to be explained *way* better

Chris Larson clarson at kergoth.com
Thu Dec 6 14:25:35 PST 2012


On Thu, Dec 6, 2012 at 2:59 PM, Robert P. J. Day <rpjday at crashcourse.ca>wrote:

>   in addition, there is absolutely no need to add a ":" to the value
> as the processing adds that for you, so the many, many examples of
>
> FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>
> is potentially confusing to folks reading the code.  (that trailing
> ":" doesn't hurt, but it has no value.)
>

This is wrong. You only don't need the leading : if FILESEXTRAPATHS was
empty to begin with, which is only the case if that is the first and only
bbappend adding to it. As soon as you get more than one, you'll end up with
concatenated values and no separator.
-- 
Christopher Larson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20121206/c53434bd/attachment.html>


More information about the yocto mailing list