diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2017-05-03 23:13:38 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-05-11 16:55:59 +0100 |
commit | 439bb8cc711799b45a7f14dc8bcb1d524d993ab2 (patch) | |
tree | bc32469f2430d7ba41aedaba6124956fcd3e4062 /meta/recipes-devtools/gcc/gcc-common.inc | |
parent | 3e655f9c7f0f4f778dc9eedd9f7405fc84b4c9ad (diff) | |
download | poky-439bb8cc711799b45a7f14dc8bcb1d524d993ab2.tar.gz |
bitbake.conf: Add COMPONENTS_DIR for ${STAGING_DIR}-components
The path to where to install and find the sysroot components is used
in many places. This warrants it to get its own variable.
(From OE-Core rev: 70a84b525470f72339568409daf84845904e4cab)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
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.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-common.inc b/meta/recipes-devtools/gcc/gcc-common.inc index 74578d94ff..18dc3a6ca6 100644 --- a/meta/recipes-devtools/gcc/gcc-common.inc +++ b/meta/recipes-devtools/gcc/gcc-common.inc | |||
@@ -13,7 +13,7 @@ COMPILERDEP = "virtual/${MLPREFIX}${TARGET_PREFIX}gcc${COMPILERINITIAL}:do_gcc_s | |||
13 | COMPILERDEP_class-nativesdk = "virtual/${TARGET_PREFIX}gcc${COMPILERINITIAL}-crosssdk:do_gcc_stash_builddir" | 13 | COMPILERDEP_class-nativesdk = "virtual/${TARGET_PREFIX}gcc${COMPILERINITIAL}-crosssdk:do_gcc_stash_builddir" |
14 | 14 | ||
15 | python extract_stashed_builddir () { | 15 | python extract_stashed_builddir () { |
16 | src = d.expand("${STAGING_DIR}-components/${BUILD_ARCH}/gcc-stashed-builddir${COMPILERINITIAL}-${TARGET_SYS}") | 16 | src = d.expand("${COMPONENTS_DIR}/${BUILD_ARCH}/gcc-stashed-builddir${COMPILERINITIAL}-${TARGET_SYS}") |
17 | dest = d.getVar("B") | 17 | dest = d.getVar("B") |
18 | oe.path.copyhardlinktree(src, dest) | 18 | oe.path.copyhardlinktree(src, dest) |
19 | staging_processfixme([src + "/fixmepath"], dest, dest, dest, d) | 19 | staging_processfixme([src + "/fixmepath"], dest, dest, dest, d) |