diff options
Diffstat (limited to 'packages/gcc/gcc-cross_3.3.3.bb')
-rw-r--r-- | packages/gcc/gcc-cross_3.3.3.bb | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/packages/gcc/gcc-cross_3.3.3.bb b/packages/gcc/gcc-cross_3.3.3.bb index c59ea0d37a..4d1e05457b 100644 --- a/packages/gcc/gcc-cross_3.3.3.bb +++ b/packages/gcc/gcc-cross_3.3.3.bb @@ -75,23 +75,23 @@ do_install () { oe_runmake 'DESTDIR=${D}' install # Move libgcc_s into /lib - mkdir -p ${D}/${base_libdir} + mkdir -p ${D}${base_libdir} if [ "${BUILD_SYS}" == "${TARGET_SYS}" ]; then # native builds drop one pathname component - mv -f ${D}/${prefix}/lib/libgcc_s.so.* ${D}/${base_libdir} + 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}/libgcc_s.so.* + ${TARGET_PREFIX}strip ${D}${TGT_LIBDIR}/libstdc++.so.* + ${TARGET_PREFIX}strip ${D}${TGT_LIBDIR}/libg2c.so.* + ${TARGET_PREFIX}strip ${D}${base_libdir}/libgcc_s.so.* } |