diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2011-01-18 16:17:58 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-21 11:18:37 +0000 |
commit | bc9d2fbfd4eaad0df5647dd5d07dfb9fcff80ff3 (patch) | |
tree | 932aff7c30893ed2625143e53a968521c8ebf8d7 /meta/recipes-devtools/gcc | |
parent | b1025bd5385de70ba1e1fc8ec9d2fb59d7fe1e91 (diff) | |
download | poky-bc9d2fbfd4eaad0df5647dd5d07dfb9fcff80ff3.tar.gz |
staging: Use relative path in sysroot-destdir for target recipes
Original we used absolute path in sysroot-destdir for both native and
target recipes. This commit changes target recipes to use relative path
which is same as the image directory.
[sgw: merged with libtool sysroot work]
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/gcc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross-intermediate.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc b/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc index 72a42411b1..48c6d9aabe 100644 --- a/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc +++ b/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc | |||
@@ -17,6 +17,9 @@ EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${target_prefix} \ | |||
17 | ${EXTRA_OECONF_INTERMEDIATE} \ | 17 | ${EXTRA_OECONF_INTERMEDIATE} \ |
18 | ${@get_gcc_fpu_setting(bb, d)}" | 18 | ${@get_gcc_fpu_setting(bb, d)}" |
19 | 19 | ||
20 | do_populate_sysroot[sstate-inputdirs] = "${SYSROOT_DESTDIR}/${STAGING_DIR_HOST} ${SYSROOT_DESTDIR}/${STAGING_DIR_TARGET}/${target_base_libdir}" | ||
21 | do_populate_sysroot[sstate-outputdirs] = "${STAGING_DIR_HOST} ${STAGING_DIR_TARGET}/${target_base_libdir}" | ||
22 | |||
20 | do_compile () { | 23 | do_compile () { |
21 | oe_runmake | 24 | oe_runmake |
22 | } | 25 | } |