<div dir="ltr">Hello Thomas, all,<br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 31, 2014 at 9:25 AM, Thomas Petazzoni <span dir="ltr"><<a href="mailto:thomas.petazzoni@free-electrons.com" target="_blank">thomas.petazzoni@free-electrons.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Dear Samuel Martin,<br>
<div class="im"><br>
On Thu, 30 Jan 2014 21:38:48 +0100, Samuel Martin wrote:<br>
> Since the HOST_PATH and TARGET_PATH variables almost contain the same<br>
> things, let's factorize this in a single BR2_PATH.<br>
<br>
</div>I am wondering about the name BR2_PATH. Normally, BR2_<something> is<br>
used for variables coming from Kconfig options.</blockquote><div>Yup, I also had some concerns about its name, I naively thought this would have been raised earlier... ;-)</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

 Introducing the<br>
BR2_PATH variable, which doesn't come from a Kconfig option seems to<br>
violate this unwritten rule.<br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
That being said, we can't call the variable just PATH, so I'm not sure<br>
which name we should choose. BR_PATH ? BUILDROOT_PATH ? PKG_PATH ?<br></blockquote><div>Well, it's a kind of mess (no offense)!</div><div>- BR_ prefix seems being used mostly for internal toolchain (wrapper) stuff;</div>

<div>- BR2_ prefix: widely used in all Config.in;</div><div>- BUILDROOT_ prefix: for things that can be set from the environment;</div><div>- PKG_ prefix: in my mind it's to close to what we can set for pkg-config - I don't really like this one.</div>

<div><br></div><div>Maybe it's time to write down the rules for the prefixes?<br></div><div><br></div><div>Anyway, I'll wait to get more inputs before repost the series.</div><div><br></div><div>Regards,</div></div>

<div><br></div>-- <br>Samuel
</div></div>