[oe-commits] Richard Purdie : autotools: Exclude variables from autotools_copy_aclocals

git at git.openembedded.org git at git.openembedded.org
Tue Mar 18 22:59:35 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: b7193fadb1a53c86ffe4982a2fa9c1179a74de46
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=b7193fadb1a53c86ffe4982a2fa9c1179a74de46

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Tue Mar 18 13:31:56 2014 +0000

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.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/classes/autotools.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index b645996..c60ba10 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:



More information about the Openembedded-commits mailing list