]> code.ossystems Code Review - openembedded-core.git/commitdiff
gcc-common.inc: Ensure WORKDIR doesn't adversly affect sstate checksums
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 24 Jan 2012 12:14:19 +0000 (12:14 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 24 Jan 2012 12:14:19 +0000 (12:14 +0000)
Changes in WORKDIR were changing the do_patch stamps between gcc-crosssdk
and gcc-cross. This excludes the variable since in this case, we don't
need want those changes to affect the signatures.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-common.inc

index ed41b0ff8a2a162ec9b2aa75e14eb560644e4597..5ba68a094c3fcd000ccfd71ac080100dd41de9c1 100644 (file)
@@ -105,3 +105,7 @@ do_headerfix () {
 addtask headerfix after do_unpack before do_patch
 
 do_headerfix[vardepvalue] = "PATH"
+
+# We need to ensure that for the shared work directory, the do_patch singatures match
+The real WORKDIR location isn't a dependency for the shared workdir.
+src_patches[vardepsexclude] = "WORKDIR"