<br><div class="gmail_quote">On Sun, Jul 8, 2012 at 8:59 PM, Robert P. J. Day <span dir="ltr"><<a href="mailto:rpjday@crashcourse.ca" target="_blank">rpjday@crashcourse.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
(most of this is sort of self-evident but it's not documented as<br>
well as it could be so i just want to make sure i have it exactly<br>
right.)<br>
<br>
snippets of some layer.conf files:<br>
<br>
oe-core:<br>
<br>
BBPATH .= ":${LAYERDIR}"<br>
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb"<br>
<br>
meta-hob:<br>
<br>
BBPATH := "${BBPATH}:${LAYERDIR}"<br>
BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb"<br>
<br>
meta-yocto:<br>
<br>
BBPATH := "${LAYERDIR}:${BBPATH}"<br>
BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb \<br>
${LAYERDIR}/recipes-*/*/*.bbappend"<br>
<br>
note how meta-hob *appends* itself to BBPATH, while meta-yocto<br>
*prepends* itself. is there no possibility that this will cause some<br>
confusion based on how BBPATH is used to resolve the location of class<br>
or conf files? i realize you should try to avoid that sort of<br>
conflict but it still seems possible that someone might choose the<br>
names of some files badly and the unpredictable ordering in BBPATH<br>
will cause grief, no?<br><br></blockquote><div><br></div><div>I don't think this can cause any problems. It's all about the order the files are searched. As long as you have proper priority set nothing can go wrong. </div>
<div><br></div><div>@g</div></div><br>