summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/gcc/gcc-common.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-24 12:14:19 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-24 12:14:19 +0000
commit0de85d2ca3bc9674323302a35995dfddb6044a71 (patch)
tree3723fbde8c191e14229945d50bbc110c84fc171f /meta/recipes-devtools/gcc/gcc-common.inc
parent29118b57c7804a237e0c8fef41fcf032476bfb10 (diff)
downloadopenembedded-core-0de85d2ca3bc9674323302a35995dfddb6044a71.tar.gz
openembedded-core-0de85d2ca3bc9674323302a35995dfddb6044a71.tar.bz2
openembedded-core-0de85d2ca3bc9674323302a35995dfddb6044a71.zip
gcc-common.inc: Ensure WORKDIR doesn't adversly affect sstate checksums
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>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-common.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-common.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-common.inc b/meta/recipes-devtools/gcc/gcc-common.inc
index ed41b0ff8a..5ba68a094c 100644
--- a/meta/recipes-devtools/gcc/gcc-common.inc
+++ b/meta/recipes-devtools/gcc/gcc-common.inc
@@ -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"