]> code.ossystems Code Review - openembedded-core.git/commitdiff
autotools: Exclude variables from autotools_copy_aclocals
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 18 Mar 2014 13:31:56 +0000 (13:31 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 18 Mar 2014 23:05:23 +0000 (23:05 +0000)
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>
meta/classes/autotools.bbclass

index b645996136a1db3d323032b98bd03f4be21639a6..c60ba10929061f17254bab52a09f32471a121078 100644 (file)
@@ -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: