All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: yocto@yoctoproject.org
Subject: Re: FILESEXTRAPATHS needs to be explained *way* better
Date: Thu, 06 Dec 2012 15:49:21 -0700	[thread overview]
Message-ID: <50C120F1.2020004@mlbassoc.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1212061731550.4523@oneiric>

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 <rpjday@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
------------------------------------------------------------


  parent reply	other threads:[~2012-12-06 22:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-06 21:59 FILESEXTRAPATHS needs to be explained *way* better Robert P. J. Day
2012-12-06 22:25 ` Chris Larson
2012-12-06 22:32   ` Robert P. J. Day
2012-12-06 22:35     ` Chris Larson
2012-12-06 23:16       ` Robert P. J. Day
2012-12-06 23:24         ` Chris Larson
2012-12-07 13:04           ` Robert P. J. Day
2012-12-07 13:59             ` Paul Eggleton
2012-12-07 14:05               ` Robert P. J. Day
2012-12-06 22:49     ` Gary Thomas [this message]
2012-12-06 22:53       ` Chris Larson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50C120F1.2020004@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.