<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 8, 2014 at 3:35 AM, 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"><div class="adM"><br></div>
looking at SRC_URI_OVERRIDES_PACKAGE_ARCH variable, and i notice<br>
first that there is only one usage of it in all of oe-core (tslib),<br>
but i'm confused as to what value it has.<br>
<br>
the ref manual reads:<br>
<br>
"By default, the OpenEmbedded build system automatically detects<br>
whether SRC_URI contains files that are machine-specific. If so, the<br>
build system automatically changes PACKAGE_ARCH. Setting this variable<br>
to "0" disables this behavior."<br>
<br>
first, i'm not sure what about the tslib SRC_URI appears to be<br>
machine-specific. also, just for fun, i commented out that line in the<br>
tslib .bb file, and did a global "bb show" to see what difference it<br>
made, and i saw no difference at all. so what exactly is the purpose<br>
of that line in that recipe? what difference should i be able to see<br>
with versus without it? thanks.</blockquote></div><br></div><div class="gmail_extra">Any file:// file in an SRC_URI can become machine specific if placed in a machine subdir in the search path. That said, I don't know why the automatic behavior of setting package_arch in that case is something that needs to be disabled for tslib. I'd suggest using git-blame to examine the commits which added this variable.<br>
-- <br>Christopher Larson<br>clarson at kergoth dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Maintainer - Tslib<br>Senior Software Engineer, Mentor Graphics
</div></div>