Skip to contentSkip to conversation

autotools: Exclude variables from autotools_copy_aclocals

PATCH New Richard Purdie 1 participant 1 message Mar 18, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 autotools: Exclude variables from autotools_copy_aclocals

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.

---

meta/classes/autotools.bbclass +1 -1
index 15fcfc6..f8c9b1e 100644
@@ -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: