On 2012-12-06 15:32, Robert P. J. Day wrote:
On Thu, 6 Dec 2012, Chris Larson wrote:



On Thu, Dec 6, 2012 at 2:59 PM, Robert P. J. Day <rpj...@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.

   i'm confused, not sure what this means.  what is the *proper* usage
of that variable?

I think Chris means you don't need ":=", you should just use "="

Bottom line, what you are trying to create is something that looks like this:
  FILESEXTRAPATHS = "some_path:some_other_path:even_another_path:"
so the ":" at the end of the expression should always be there.

--
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to