Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] autotools: Exclude variables from autotools_copy_aclocals
@ 2014-03-18 13:31 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2014-03-18 13:31 UTC (permalink / raw)
  To: openembedded-core

The autotools aclocal copy function should not depend on various variables, these
are accounted for in other parts of the system. Therefore exclude them.

This was causing differences in sstate checksums between different systems and meaning
the sstate cache wasn't being reused as much as it should.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index 15fcfc6..f8c9b1e 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -175,7 +175,7 @@ python autotools_copy_aclocals () {
         if not os.path.exists(t):
             os.symlink(c, t)
 }
-autotools_copy_aclocals[vardepsexclude] += "MACHINE"
+autotools_copy_aclocals[vardepsexclude] += "MACHINE SDK_ARCH BUILD_ARCH BB_TASKDEPDATA"
 
 autotools_do_configure() {
 	# WARNING: gross hack follows:




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-03-18 13:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-18 13:31 [PATCH] autotools: Exclude variables from autotools_copy_aclocals Richard Purdie

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