aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gcc/gcc-configure-cross.inc
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-04-01 12:07:33 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-05-05 14:45:48 +0100
commit24ef72d610505e968d432d78ae6bed34bf480a36 (patch)
treefd457d376f6d67a2c645a1b4a32c3562c83264e0 /recipes/gcc/gcc-configure-cross.inc
parentd7eff9aaf5af1e9afdae64b42741e809f10fe04e (diff)
downloadopenembedded-24ef72d610505e968d432d78ae6bed34bf480a36.tar.gz
openembedded-24ef72d610505e968d432d78ae6bed34bf480a36.tar.bz2
openembedded-24ef72d610505e968d432d78ae6bed34bf480a36.zip
gcc-configure-cross.inc: The install function is used, stage is no longer required
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'recipes/gcc/gcc-configure-cross.inc')
-rw-r--r--recipes/gcc/gcc-configure-cross.inc44
1 files changed, 0 insertions, 44 deletions
diff --git a/recipes/gcc/gcc-configure-cross.inc b/recipes/gcc/gcc-configure-cross.inc
index 7dde9de064..8b97b097ef 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
-}
-