summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/gcc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-28 10:13:58 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-28 10:20:50 +0000
commitbfea0e6a5aee9ce15bf20bcb2781329e6281284c (patch)
treefdb883b332361222617aa551087368b86365225c /meta/recipes-devtools/gcc
parent3a617a4c66941cecbdccb6f410e1b0d8bfde9845 (diff)
downloadopenembedded-core-bfea0e6a5aee9ce15bf20bcb2781329e6281284c.tar.gz
openembedded-core-bfea0e6a5aee9ce15bf20bcb2781329e6281284c.tar.bz2
openembedded-core-bfea0e6a5aee9ce15bf20bcb2781329e6281284c.zip
gcc-cross: Ensure do_gcc_stash_builddir happens before do_build
If we don't do this, things break with rm_work which removes things before the task completes causing task failures. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross.inc b/meta/recipes-devtools/gcc/gcc-cross.inc
index f3ae4fe6b1..fa5cfbd5d1 100644
--- a/meta/recipes-devtools/gcc/gcc-cross.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross.inc
@@ -200,7 +200,7 @@ do_gcc_stash_builddir () {
dest=${BUILDDIRSTASH}
hardlinkdir . $dest
}
-addtask do_gcc_stash_builddir after do_compile
+addtask do_gcc_stash_builddir after do_compile before do_build
SSTATETASKS += "do_gcc_stash_builddir"
do_gcc_stash_builddir[sstate-inputdirs] = "${BUILDDIRSTASH}"
do_gcc_stash_builddir[sstate-outputdirs] = "${STAGING_DIR}-components/${BUILD_ARCH}/gcc-stashed-builddir${COMPILERINITIAL}-${TARGET_SYS}"