summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/libgcc.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-24 13:18:12 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-26 10:44:27 +0000
commit42ed1d8ac9799e41544c2da93069ecc6f86cbded (patch)
tree0a67a6c18c1964c048c8a821fddf7da7de506c95 /meta/recipes-devtools/gcc/libgcc.inc
parent1cec0f3bf4fa784e91ee4cdb66376361ecbff18e (diff)
downloadpoky-42ed1d8ac9799e41544c2da93069ecc6f86cbded.tar.gz
gcc: Split builddir saving into its own sstate task
When we stashed the gcc build directory for use in generating the various runtimes we were being lazy and just used the staging directory. With recipe specific sysroots this means we're copying a large chunk of data around with the cross compiler which we don't really need in most cases. Separate out the data into its own task and inject this into the configure step. We have to do that here since autotools will wipe out ${B} if it thinks we're rebuilding and we therefore have to time its recreation after that. This also takes the opportunity to remove some pointless (as far as I can tell) conditionals from the do_install code. (From OE-Core rev: dcf15ccf3cc9d55e77228ba8d526f967fc9791b4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/libgcc.inc')
-rw-r--r--meta/recipes-devtools/gcc/libgcc.inc2
1 files changed, 0 insertions, 2 deletions
diff --git a/meta/recipes-devtools/gcc/libgcc.inc b/meta/recipes-devtools/gcc/libgcc.inc
index 4770394c42..38d1643a9c 100644
--- a/meta/recipes-devtools/gcc/libgcc.inc
+++ b/meta/recipes-devtools/gcc/libgcc.inc
@@ -33,8 +33,6 @@ FILES_${PN}-dev = "\
33 ${libdir}/${TARGET_ARCH}${TARGET_VENDOR}* \ 33 ${libdir}/${TARGET_ARCH}${TARGET_VENDOR}* \
34" 34"
35 35
36LIBGCCBUILDTREENAME = "gcc-build-internal-"
37
38do_package[depends] += "virtual/${MLPREFIX}libc:do_packagedata" 36do_package[depends] += "virtual/${MLPREFIX}libc:do_packagedata"
39do_package_write_ipk[depends] += "virtual/${MLPREFIX}libc:do_packagedata" 37do_package_write_ipk[depends] += "virtual/${MLPREFIX}libc:do_packagedata"
40do_package_write_deb[depends] += "virtual/${MLPREFIX}libc:do_packagedata" 38do_package_write_deb[depends] += "virtual/${MLPREFIX}libc:do_packagedata"