Openembedded Core Discussions
 help / color / mirror / Atom feed
* How to find out why my do_compile depends on $MACHINE
@ 2015-10-05  9:34 Mike Looijmans
  2015-10-05 10:18 ` Richard Purdie
  0 siblings, 1 reply; 7+ messages in thread
From: Mike Looijmans @ 2015-10-05  9:34 UTC (permalink / raw)
  To: OE-core

I've been puzzling with this for many hours now, but I can't seem to figure 
this out.

I have a recipe that doesn't mention MACHINE anywhere, but still the 
sstate-cache won't be re-used for other machines, because OE somehow insists 
the package does depend on $MACHINE.

The workaround I could find is to put something like this in the recipe:

MACHINE[vardepvalue] = "any"

(Similar stupid hacks like "vardepsexclude" will probably work too, but I'm 
not interested in forcing this particular recipe, but I'm trying to figure out 
what makes bitbake think it matters)

Since it builds for an FPGA type, the package has 
PACKAGE_ARCH="${FPGA_FAMILY}" set, and FGPA_FAMILY is set in local.conf.


When switching machines, "bitbake -S printdiff fpga-image-dyplo-test" reports 
that MACHINE changed and that is what caused sstate not beign reused. But the 
recipe does not use anything related to $MACHINE at all.

Is there a way to make it tell me WHY it thinks that MACHINE is important to 
the recipe?


Kind regards,

Mike Looijmans
System Expert

TOPIC Embedded Products
Eindhovenseweg 32-C, NL-5683 KH Best
Postbus 440, NL-5680 AK Best
Telefoon: +31 (0) 499 33 69 79
Telefax: +31 (0) 499 33 69 70
E-mail: mike.looijmans@topicproducts.com
Website: www.topicproducts.com

Please consider the environment before printing this e-mail







^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-10-06 15:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-05  9:34 How to find out why my do_compile depends on $MACHINE Mike Looijmans
2015-10-05 10:18 ` Richard Purdie
2015-10-05 11:49   ` Mike Looijmans
2015-10-05 12:46     ` Martin Jansa
2015-10-05 13:22     ` Richard Purdie
2015-10-06 12:55       ` Mike Looijmans
2015-10-06 15:40         ` Christopher Larson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox