Patchwork autotools: Exclude variables from autotools_copy_aclocals

mail settings
Submitter Richard Purdie
Date March 18, 2014, 1:31 p.m.
Message ID <1395149516.3808.84.camel@ted>
Download mbox | patch
Permalink /patch/68827/
State Accepted
Commit b7193fadb1a53c86ffe4982a2fa9c1179a74de46
Headers show


Richard Purdie - March 18, 2014, 1:31 p.m.
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 <>


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: