diff options
Diffstat (limited to 'packages/gcc-csl')
-rw-r--r-- | packages/gcc-csl/gcc-csl-cross_2004-q1a.bb | 22 | ||||
-rw-r--r-- | packages/gcc-csl/gcc-csl_2004-q1a.bb | 20 |
2 files changed, 21 insertions, 21 deletions
diff --git a/packages/gcc-csl/gcc-csl-cross_2004-q1a.bb b/packages/gcc-csl/gcc-csl-cross_2004-q1a.bb index d74fb4fa3d..47aea70e85 100644 --- a/packages/gcc-csl/gcc-csl-cross_2004-q1a.bb +++ b/packages/gcc-csl/gcc-csl-cross_2004-q1a.bb @@ -69,25 +69,25 @@ do_install () { oe_runmake 'DESTDIR=${D}' install # Move libgcc_s into /lib - mkdir -p ${D}/${base_libdir} - if [ -f ${D}/${base_libdir}/libgcc_s.so.? ]; then + mkdir -p ${D}${base_libdir} + if [ -f ${D}${base_libdir}/libgcc_s.so.? ]; then # Already in the right location : - elif [ -f ${D}/${prefix}/lib/libgcc_s.so.? ]; then - mv -f ${D}/${prefix}/lib/libgcc_s.so.* ${D}/${base_libdir} + elif [ -f ${D}${prefix}/lib/libgcc_s.so.? ]; then + mv -f ${D}${prefix}/lib/libgcc_s.so.* ${D}${base_libdir} else - mv -f ${D}/${prefix}/*/lib/libgcc_s.so.* ${D}/${base_libdir} + mv -f ${D}${prefix}/*/lib/libgcc_s.so.* ${D}${base_libdir} fi # Move libstdc++ and libg2c into libdir (resetting our prefix to /usr TGT_LIBDIR=`echo ${libdir} | sed -e 's,${CROSS_DIR},/usr,'` - mkdir -p ${D}/${TGT_LIBDIR} - mv -f ${D}/${prefix}/*/lib/libstdc++.so.* ${D}/${TGT_LIBDIR} - mv -f ${D}/${prefix}/*/lib/libg2c.so.* ${D}/${TGT_LIBDIR} + mkdir -p ${D}${TGT_LIBDIR} + mv -f ${D}${prefix}/*/lib/libstdc++.so.* ${D}${TGT_LIBDIR} + mv -f ${D}${prefix}/*/lib/libg2c.so.* ${D}${TGT_LIBDIR} # Manually run the target stripper since we won't get it run by # the packaging. - ${TARGET_PREFIX}strip ${D}/${TGT_LIBDIR}/libstdc++.so.* - ${TARGET_PREFIX}strip ${D}/${TGT_LIBDIR}/libg2c.so.* - ${TARGET_PREFIX}strip ${D}/${base_libdir}gcc_s.so.* + ${TARGET_PREFIX}strip ${D}${TGT_LIBDIR}/libstdc++.so.* + ${TARGET_PREFIX}strip ${D}${TGT_LIBDIR}/libg2c.so.* + ${TARGET_PREFIX}strip ${D}${base_libdir}gcc_s.so.* } diff --git a/packages/gcc-csl/gcc-csl_2004-q1a.bb b/packages/gcc-csl/gcc-csl_2004-q1a.bb index c4839792c0..4a3d02333d 100644 --- a/packages/gcc-csl/gcc-csl_2004-q1a.bb +++ b/packages/gcc-csl/gcc-csl_2004-q1a.bb @@ -188,28 +188,28 @@ do_install () { autotools_do_install # Cleanup some of the ${libdir}{,exec}/gcc stuff ... - rm -r ${D}/${libdir}/gcc/${TARGET_SYS}/${PV}/install-tools - rm -r ${D}/${libexecdir}/gcc/${TARGET_SYS}/${PV}/install-tools + rm -r ${D}${libdir}/gcc/${TARGET_SYS}/${PV}/install-tools + rm -r ${D}${libexecdir}/gcc/${TARGET_SYS}/${PV}/install-tools # Move libgcc_s into /lib - mkdir -p ${D}/${base_libdir} - mv ${D}/${libdir}/libgcc_s.so.* ${D}/${base_libdir} - rm ${D}/${libdir}/libgcc_s.so + mkdir -p ${D}${base_libdir} + mv ${D}${libdir}/libgcc_s.so.* ${D}${base_libdir} + rm ${D}${libdir}/libgcc_s.so ln -sf `echo ${libdir}/gcc/${TARGET_SYS}/${PV} \ | tr -s / \ | sed -e 's,^/,,' -e 's,[^/]*,..,g'`/lib/libgcc_s.so.? \ - ${D}/${libdir}/gcc/${TARGET_SYS}/${PV}/libgcc_s.so + ${D}${libdir}/gcc/${TARGET_SYS}/${PV}/libgcc_s.so # We don't need libtool libraries - rm ${D}/${libdir}/libg2c.la + rm ${D}${libdir}/libg2c.la # Cleanup manpages.. - rm -r ${D}/${mandir}/man7 + rm -r ${D}${mandir}/man7 # We use libiberty from binutils - rm ${D}/${libdir}/libiberty.a + rm ${D}${libdir}/libiberty.a - cd ${D}/${bindir} + cd ${D}${bindir} # We care about g++ not c++ rm *c++ |