diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-16 23:36:11 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-16 23:36:11 +0000 |
commit | ec22e232d4b35eaa8c70d46335dfb52199fe1fca (patch) | |
tree | b3f51d9cfca46baf7229ef3b04786fd5a81b8871 /meta/packages/gcc/gcc-configure-cross.inc | |
parent | 977b3fe5545c699e438866b834c9af949680aaab (diff) | |
download | openembedded-core-ec22e232d4b35eaa8c70d46335dfb52199fe1fca.tar.gz openembedded-core-ec22e232d4b35eaa8c70d46335dfb52199fe1fca.tar.bz2 openembedded-core-ec22e232d4b35eaa8c70d46335dfb52199fe1fca.zip |
gcc: Convert cross recipes to stage in do_install. Also moves stdc++ and other libs into the sysroot
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/gcc/gcc-configure-cross.inc')
-rw-r--r-- | meta/packages/gcc/gcc-configure-cross.inc | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/meta/packages/gcc/gcc-configure-cross.inc b/meta/packages/gcc/gcc-configure-cross.inc index 8a47a45bc9..569d4b7a82 100644 --- a/meta/packages/gcc/gcc-configure-cross.inc +++ b/meta/packages/gcc/gcc-configure-cross.inc @@ -19,33 +19,4 @@ do_compile_prepend () { LIBGCCS_VAR = "-lgcc_s" LIBGCCS_VAR_avr32 = "" -do_stage_append () { - for d in info man share/doc share/locale ; do - rm -rf ${CROSS_DIR}/$d - done - - # We use libiberty from binutils - rm -f ${CROSS_DIR}/lib/libiberty.a - - # We probably don't need these - rmdir ${CROSS_DIR}/include || : - - # Move libssp into staging - install -d ${STAGING_DIR_TARGET}${target_base_libdir}/ - mv ${CROSS_DIR}/${TARGET_SYS}/lib/libssp* ${STAGING_DIR_TARGET}${target_base_libdir}/ || true - - # We don't really need to keep this around - # rm -rf ${CROSS_DIR}/share but leave java there - for d in share/man share/info; - do - rm -rf ${CROSS_DIR}/$d - done - - #fix up libsupc++ and libstdc++ la files - for d in lib lib/nof; do - sed -i "s|dependency_libs\s*=\s*.*|dependency_libs='-L${CROSS_DIR}/${TARGET_SYS}/$d ${LIBGCCS_VAR} -lc -lm '|" ${CROSS_DIR}/${TARGET_SYS}/$d/libsupc++.la || true - sed -i "s|dependency_libs\s*=\s*.*|dependency_libs='-L${CROSS_DIR}/${TARGET_SYS}/$d ${LIBGCCS_VAR} -lc -lm '|" ${CROSS_DIR}/${TARGET_SYS}/$d/libstdc++.la || true - done -} - do_package_write_ipk[depends] += "virtual/libc:do_package" |