summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/gcc/gcc-common.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-17 10:04:27 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-20 11:52:30 +0100
commite21b6c04e512a3bc2339a20045b7041f1d26e859 (patch)
tree4731eb7e23dceed82db279a1f16988c804cdb5d6 /meta/recipes-devtools/gcc/gcc-common.inc
parent8e82713724dfcb40f2ae24a166ec94f50f8b4cd0 (diff)
downloadopenembedded-core-e21b6c04e512a3bc2339a20045b7041f1d26e859.tar.gz
openembedded-core-e21b6c04e512a3bc2339a20045b7041f1d26e859.tar.bz2
openembedded-core-e21b6c04e512a3bc2339a20045b7041f1d26e859.zip
bitbake.conf/gcc: Add clean masks for stamp files
This takes advantage of new bitbake functionality to clean up stale stamp files when creating new stamp files. [YOCTO #2961] 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 72180db2a8..4ef2a1b8a0 100644
--- a/meta/recipes-devtools/gcc/gcc-common.inc
+++ b/meta/recipes-devtools/gcc/gcc-common.inc
@@ -63,6 +63,10 @@ SS = "${TMPDIR}/stamps/work-shared/gcc-${PV}-${PR}"
do_fetch[stamp-base] = "${SS}"
do_unpack[stamp-base] = "${SS}"
do_patch[stamp-base] = "${SS}"
+SSCLEAN = "${TMPDIR}/stamps/work-shared/gcc-*-*"
+do_fetch[stamp-base-clean] = "${SSCLEAN}"
+do_unpack[stamp-base-clean] = "${SSCLEAN}"
+do_patch[stamp-base-clean] = "${SSCLEAN}"
# SW means Shared Work directory
SW = "${TMPDIR}/work-shared/gcc-${PV}-${PR}"