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>
This commit is contained in:
Richard Purdie 2017-01-28 10:13:58 +00:00
parent 0150dddeaf
commit deaef6c879
1 changed files with 1 additions and 1 deletions

View File

@ -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}"