diff options
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-common.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-common.inc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-common.inc b/meta/recipes-devtools/gcc/gcc-common.inc index d17ba29d1d..44e7c2891c 100644 --- a/meta/recipes-devtools/gcc/gcc-common.inc +++ b/meta/recipes-devtools/gcc/gcc-common.inc | |||
@@ -8,6 +8,16 @@ NATIVEDEPS = "" | |||
8 | inherit autotools gettext texinfo | 8 | inherit autotools gettext texinfo |
9 | 9 | ||
10 | BPN = "gcc" | 10 | BPN = "gcc" |
11 | COMPILERINITIAL = "" | ||
12 | COMPILERDEP = "virtual/${MLPREFIX}${TARGET_PREFIX}gcc${COMPILERINITIAL}:do_gcc_stash_builddir" | ||
13 | COMPILERDEP_class-nativesdk = "virtual/${TARGET_PREFIX}gcc${COMPILERINITIAL}-crosssdk:do_gcc_stash_builddir" | ||
14 | |||
15 | python extract_stashed_builddir () { | ||
16 | src = d.expand("${STAGING_DIR}-components/${BUILD_ARCH}/gcc-stashed-builddir${COMPILERINITIAL}-${TARGET_SYS}") | ||
17 | dest = d.getVar("B") | ||
18 | oe.path.copyhardlinktree(src, dest) | ||
19 | staging_processfixme([src + "/fixmepath"], dest, dest, dest, d) | ||
20 | } | ||
11 | 21 | ||
12 | def get_gcc_float_setting(bb, d): | 22 | def get_gcc_float_setting(bb, d): |
13 | if d.getVar('ARMPKGSFX_EABI') == "hf" and d.getVar('TRANSLATED_TARGET_ARCH') == "arm": | 23 | if d.getVar('ARMPKGSFX_EABI') == "hf" and d.getVar('TRANSLATED_TARGET_ARCH') == "arm": |