diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-28 10:13:58 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-28 10:20:55 +0000 |
commit | deaef6c879bcb452c4a548e839448d1ddf4df1d7 (patch) | |
tree | ff224163bf8f5fe3acd62c1d8b87bf66a3a70ce4 /meta/recipes-devtools/gcc/gcc-cross.inc | |
parent | 0150dddeaf901c91d32be093efd0348a344fb545 (diff) | |
download | poky-deaef6c879bcb452c4a548e839448d1ddf4df1d7.tar.gz |
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.
(From OE-Core rev: bfea0e6a5aee9ce15bf20bcb2781329e6281284c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-cross.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross.inc | 2 |
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 () { | |||
200 | dest=${BUILDDIRSTASH} | 200 | dest=${BUILDDIRSTASH} |
201 | hardlinkdir . $dest | 201 | hardlinkdir . $dest |
202 | } | 202 | } |
203 | addtask do_gcc_stash_builddir after do_compile | 203 | addtask do_gcc_stash_builddir after do_compile before do_build |
204 | SSTATETASKS += "do_gcc_stash_builddir" | 204 | SSTATETASKS += "do_gcc_stash_builddir" |
205 | do_gcc_stash_builddir[sstate-inputdirs] = "${BUILDDIRSTASH}" | 205 | do_gcc_stash_builddir[sstate-inputdirs] = "${BUILDDIRSTASH}" |
206 | do_gcc_stash_builddir[sstate-outputdirs] = "${STAGING_DIR}-components/${BUILD_ARCH}/gcc-stashed-builddir${COMPILERINITIAL}-${TARGET_SYS}" | 206 | do_gcc_stash_builddir[sstate-outputdirs] = "${STAGING_DIR}-components/${BUILD_ARCH}/gcc-stashed-builddir${COMPILERINITIAL}-${TARGET_SYS}" |