summaryrefslogtreecommitdiff
path: root/packages/gcc-csl/gcc-csl-cross_2004-q1a.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gcc-csl/gcc-csl-cross_2004-q1a.bb')
-rw-r--r--packages/gcc-csl/gcc-csl-cross_2004-q1a.bb22
1 files changed, 11 insertions, 11 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.*
}