diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-25 00:34:09 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-25 12:25:45 +0000 |
| commit | c0e1272d1526484f1921f3dd14ca042798d530d9 (patch) | |
| tree | e29de33c2cb3edf5c1c43bd772a4c98a77ec36a4 /meta/recipes-devtools/gcc/gcc-cross-intermediate.inc | |
| parent | 23cb814b2761cbe42f1f76e66abb61d8d4584c54 (diff) | |
| download | poky-c0e1272d1526484f1921f3dd14ca042798d530d9.tar.gz | |
gcc/libc: Change bootstrap to use an intermediate sysroot and hence no longer overwrite files
Based upon patches from Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-cross-intermediate.inc')
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross-intermediate.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc b/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc index 12fdb70ae8..01571a3202 100644 --- a/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc +++ b/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc | |||
| @@ -14,13 +14,13 @@ EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${target_prefix} \ | |||
| 14 | --enable-languages=c \ | 14 | --enable-languages=c \ |
| 15 | ${OPTSPACE} \ | 15 | ${OPTSPACE} \ |
| 16 | --program-prefix=${TARGET_PREFIX} \ | 16 | --program-prefix=${TARGET_PREFIX} \ |
| 17 | --with-sysroot=${STAGING_DIR_TARGET} \ | 17 | --with-sysroot=${STAGING_DIR_TCBOOTSTRAP} \ |
| 18 | --with-build-sysroot=${STAGING_DIR_TARGET} \ | 18 | --with-build-sysroot=${STAGING_DIR_TCBOOTSTRAP} \ |
| 19 | ${EXTRA_OECONF_INTERMEDIATE} \ | 19 | ${EXTRA_OECONF_INTERMEDIATE} \ |
| 20 | ${@get_gcc_fpu_setting(bb, d)}" | 20 | ${@get_gcc_fpu_setting(bb, d)}" |
| 21 | 21 | ||
| 22 | do_populate_sysroot[sstate-inputdirs] = "${SYSROOT_DESTDIR}/${STAGING_DIR_HOST} ${SYSROOT_DESTDIR}/${STAGING_DIR_TARGET}/${target_base_libdir}" | 22 | do_populate_sysroot[sstate-inputdirs] = "${SYSROOT_DESTDIR}/${STAGING_DIR_HOST} ${SYSROOT_DESTDIR}/${STAGING_DIR_TARGET}/${target_base_libdir}" |
| 23 | do_populate_sysroot[sstate-outputdirs] = "${STAGING_DIR_HOST} ${STAGING_DIR_TARGET}/${target_base_libdir}" | 23 | do_populate_sysroot[sstate-outputdirs] = "${STAGING_DIR_HOST} ${STAGING_DIR_TCBOOTSTRAP}/${target_base_libdir}" |
| 24 | 24 | ||
| 25 | do_compile () { | 25 | do_compile () { |
| 26 | oe_runmake | 26 | oe_runmake |
