how does SCR_URI_OVERRIDES_PACKAGE_ARCH affect building tslib?
looking at SRC_URI_OVERRIDES_PACKAGE_ARCH variable, and i notice
first that there is only one usage of it in all of oe-core (tslib), but i'm confused as to what value it has.
the ref manual reads:
"By default, the OpenEmbedded build system automatically detects whether SRC_URI contains files that are machine-specific. If so, the build system automatically changes PACKAGE_ARCH. Setting this variable to "0" disables this behavior."
first, i'm not sure what about the tslib SRC_URI appears to be
machine-specific. also, just for fun, i commented out that line in the tslib .bb file, and did a global "bb show" to see what difference it made, and i saw no difference at all. so what exactly is the purpose of that line in that recipe? what difference should i be able to see with versus without it? thanks.
rday
Signature · 7 lines
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================Quoted 12 lines · Robert P. J. Day
looking at
SRC_URI_OVERRIDES_PACKAGE_ARCHvariable, and i notice
first that there is only one usage of it in all of oe-core (tslib), but i'm confused as to what value it has.the ref manual reads:
"By default, the OpenEmbedded build system automatically detects whether
SRC_URIcontains files that are machine-specific. If so, the build system automatically changesPACKAGE_ARCH. Setting this variable to "0" disables this behavior."
Quoted 6 lines
first, i'm not sure what about the tslib
SRC_URIappears to be
machine-specific. also, just for fun, i commented out that line in the tslib .bb file, and did a global "bb show" to see what difference it made, and i saw no difference at all. so what exactly is the purpose of that line in that recipe? what difference should i be able to see with versus without it? thanks.
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.
Signature · 5 lines
Christopher Larson clarson at kergoth dot com Founder - BitBake, OpenEmbedded, OpenZaurus Maintainer - Tslib Senior Software Engineer, Mentor Graphics
Quoted 21 lines · Christopher Larson
On Fri, Aug 8, 2014 at 3:35 AM, Robert P. J. Day <[email protected]> wrote:
looking at
SRC_URI_OVERRIDES_PACKAGE_ARCHvariable, and i notice first that there is only one usage of it in all of oe-core (tslib), but i'm confused as to what value it has.the ref manual reads:
"By default, the OpenEmbedded build system automatically detects whether
SRC_URIcontains files that are machine-specific. If so, the build system automatically changesPACKAGE_ARCH. Setting this variable to "0" disables this behavior."first, i'm not sure what about the tslib
SRC_URIappears to be machine-specific. also, just for fun, i commented out that line in the tslib .bb file, and did a global "bb show" to see what difference it made, and i saw no difference at all. so what exactly is the purpose of that line in that recipe? what difference should i be able to see with versus without it? thanks.
Quoted 5 lines
Any file:// file in an
SRC_URIcan become machine specific if placed in a machine subdir in the search path. That said, I don't know why the automatic behavior of settingpackage_archin 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.
should have done that first thing ... "git blame" shows that line
goes all the way back to 2006, when tslib *did* have machine-specific files under tslib/. now that that's no longer true, i suspect that line can be tossed.
pity ... i was just looking for a single recipe that usedSRC_URI_OVERRIDES_PACKAGE_ARCH, and now i have none. i haz a sad.
rday
Signature · 7 lines
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================