summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-target.inc
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2015-10-20 11:29:37 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-10-27 07:24:27 +0000
commit54b7471be72ffc20d99dd48c0d8fdea5e399eecc (patch)
treea7bc822e65371dbc0e7326ef97eaa8d7dc430dcc /meta/recipes-devtools/gcc/gcc-target.inc
parent0d69a171d915c2cd7b25df81ca5350f1d9efb885 (diff)
downloadpoky-54b7471be72ffc20d99dd48c0d8fdea5e399eecc.tar.gz
gcc-target.inc: Add support for executable thats may have a suffix
In the past GCC has used a wildcard to permit generating executables that may have a suffix, such as .exe. This wild card was lost in one of the updates. Adding the wild card back in fixes a number of issues when generating a mingw gcc. (From OE-Core rev: 1003e93a1b3359a98fb631eeeda3fda184832288) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-target.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-target.inc12
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-target.inc b/meta/recipes-devtools/gcc/gcc-target.inc
index 6e160c0d1c..d62c15afd8 100644
--- a/meta/recipes-devtools/gcc/gcc-target.inc
+++ b/meta/recipes-devtools/gcc/gcc-target.inc
@@ -31,7 +31,7 @@ PACKAGES = "\
31 31
32FILES_${PN} = "\ 32FILES_${PN} = "\
33 ${bindir}/${TARGET_PREFIX}gcc* \ 33 ${bindir}/${TARGET_PREFIX}gcc* \
34 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/collect2 \ 34 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/collect2* \
35 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/cc* \ 35 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/cc* \
36 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/lto* \ 36 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/lto* \
37 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/lib*${SOLIBS} \ 37 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/lib*${SOLIBS} \
@@ -83,20 +83,20 @@ FILES_gfortran-symlinks = "\
83 ${bindir}/f95" 83 ${bindir}/f95"
84 84
85FILES_cpp = "\ 85FILES_cpp = "\
86 ${bindir}/${TARGET_PREFIX}cpp \ 86 ${bindir}/${TARGET_PREFIX}cpp* \
87 ${base_libdir}/cpp \ 87 ${base_libdir}/cpp \
88 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/cc1" 88 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/cc1"
89FILES_cpp-symlinks = "${bindir}/cpp" 89FILES_cpp-symlinks = "${bindir}/cpp"
90 90
91FILES_gcov = "${bindir}/${TARGET_PREFIX}gcov \ 91FILES_gcov = "${bindir}/${TARGET_PREFIX}gcov* \
92 ${bindir}/${TARGET_PREFIX}gcov-tool \ 92 ${bindir}/${TARGET_PREFIX}gcov-tool* \
93" 93"
94FILES_gcov-symlinks = "${bindir}/gcov \ 94FILES_gcov-symlinks = "${bindir}/gcov \
95 ${bindir}/gcov-tool \ 95 ${bindir}/gcov-tool \
96" 96"
97 97
98FILES_g++ = "\ 98FILES_g++ = "\
99 ${bindir}/${TARGET_PREFIX}g++ \ 99 ${bindir}/${TARGET_PREFIX}g++* \
100 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/cc1plus \ 100 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/cc1plus \
101" 101"
102FILES_g++-symlinks = "\ 102FILES_g++-symlinks = "\
@@ -141,7 +141,7 @@ do_install () {
141 cd ${D}${bindir} 141 cd ${D}${bindir}
142 142
143 # We care about g++ not c++ 143 # We care about g++ not c++
144 rm -f *c++ 144 rm -f *c++*
145 145
146 # We don't care about the gcc-<version> ones for this 146 # We don't care about the gcc-<version> ones for this
147 rm -f *gcc-?.?* 147 rm -f *gcc-?.?*