[oe-commits] Richard Purdie : gcc-configure-cross.inc: The install function is used, stage is no longer required
git version control
git at git.openembedded.org
Wed May 5 23:34:44 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 24ef72d610505e968d432d78ae6bed34bf480a36
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=24ef72d610505e968d432d78ae6bed34bf480a36
Author: Richard Purdie <rpurdie at linux.intel.com>
Date: Thu Apr 1 12:07:33 2010 +0100
gcc-configure-cross.inc: The install function is used, stage is no longer required
Signed-off-by: Richard Purdie <rpurdie at linux.intel.com>
---
recipes/gcc/gcc-configure-cross.inc | 44 -----------------------------------
1 files changed, 0 insertions(+), 44 deletions(-)
diff --git a/recipes/gcc/gcc-configure-cross.inc b/recipes/gcc/gcc-configure-cross.inc
index 7dde9de..8b97b09 100644
--- a/recipes/gcc/gcc-configure-cross.inc
+++ b/recipes/gcc/gcc-configure-cross.inc
@@ -22,47 +22,3 @@ do_configure_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
-
- # Fix a few include links so cross builds are happier
- if [ ! -e ${STAGING_INCDIR}/c++ ]; then
- mkdir -p ${STAGING_INCDIR}
- mkdir -p ${CROSS_DIR}/${TARGET_SYS}/include/c++
- ln -sf ${CROSS_DIR}/${TARGET_SYS}/include/c++ \
- ${STAGING_INCDIR}/
- fi
-
- # We probably don't need these
- rmdir ${CROSS_DIR}/include || :
-
- # 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
-
- # Link gfortran to g77 to satisfy not-so-smart configure or hard coded g77
- # gfortran is fully backwards compatible. This is a safe and practical solution.
- if [ -f ${CROSS_DIR}/bin/${TARGET_PREFIX}gfortran ]; then
- currdir="$PWD"
- cd ${CROSS_DIR}/bin/
- ln -sf ${TARGET_PREFIX}gfortran ${TARGET_PREFIX}g77 || true
- if [ -d ${CROSS_DIR}/${TARGET_SYS}/bin/ ] ; then
- cd ${CROSS_DIR}/${TARGET_SYS}/bin/
- ln -sf gfortran g77 || true
- fi
- cd $currdir
- fi
-}
-
More information about the Openembedded-commits
mailing list