diff options
author | Tom Rini <trini@embeddedalley.com> | 2009-01-28 15:37:23 -0500 |
---|---|---|
committer | Tom Rini <trini@embeddedalley.com> | 2009-01-28 15:37:23 -0500 |
commit | 6b8cfb76a3eaffe826c642becaea6b92279f0813 (patch) | |
tree | ee58a60d4c2227cf26f47e6812a246544376c510 /packages/gcc | |
parent | 0fed498fcbc9f07af7543e113b58bbf42b0938e6 (diff) |
gcc-package-sdk.inc: Make use of ${EXEEXT}
Diffstat (limited to 'packages/gcc')
-rw-r--r-- | packages/gcc/gcc-package-sdk.inc | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/packages/gcc/gcc-package-sdk.inc b/packages/gcc/gcc-package-sdk.inc index 41f47aec1d..767895bb07 100644 --- a/packages/gcc/gcc-package-sdk.inc +++ b/packages/gcc/gcc-package-sdk.inc @@ -9,10 +9,10 @@ PACKAGES = "${PN} ${PN}-doc" FILES_${PN} = "\ ${bindir}/* \ - ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/cc1 \ - ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/collect2 \ - ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/f771 \ - ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/cc1plus \ + ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/cc1${EXEEXT} \ + ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/collect2${EXEEXT} \ + ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/f771${EXEEXT} \ + ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/cc1plus${EXEEXT} \ ${gcclibdir}/${TARGET_SYS}/${BINV}/*.o \ ${gcclibdir}/${TARGET_SYS}/${BINV}/specs \ ${gcclibdir}/${TARGET_SYS}/${BINV}/lib* \ @@ -36,10 +36,10 @@ do_install () { rm -r ${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/install-tools # We care about g++ not c++ - rm -f ${D}${bindir}/*c++ + rm -f ${D}${bindir}/*c++${EXEEXT} # We don't care about the gcc-<version> copies - rm -f ${D}${bindir}/*gcc-?.?* + rm -f ${D}${bindir}/*gcc-?.?*${EXEEXT} # We use libiberty from binutils rm -f ${D}${prefix}/${TARGET_SYS}/lib/libiberty.a @@ -50,7 +50,7 @@ do_install () { for l in ${D}${bindir}/*; do ln -sf "${bindir}/`basename $l`" "${D}${prefix}/${TARGET_SYS}/bin/`basename $l | sed -e 's,${TARGET_PREFIX},,'`" done - ln -sf "${bindir}/${TARGET_PREFIX}gcc" "${D}${prefix}/${TARGET_SYS}/bin/cc" + ln -sf "${bindir}/${TARGET_PREFIX}gcc${EXEEXT}" "${D}${prefix}/${TARGET_SYS}/bin/cc${EXEEXT}" # Manually run the target stripper since we won't get it run by # the packaging. @@ -60,4 +60,3 @@ do_install () { ${TARGET_PREFIX}strip ${D}${prefix}/${TARGET_SYS}/lib/libgcc_s.so.* fi } - |