summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc
diff options
context:
space:
mode:
authorIsmo Puustinen <ismo.puustinen@intel.com>2017-03-10 12:10:25 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-17 16:53:05 +0000
commit5c9dc408aaf62fc97b36fd1eb601085870a87699 (patch)
tree828c1e630b170b52b766f9082aecf84df67df9b9 /meta/recipes-devtools/gcc
parent3e1b79a76284fb66332c9f7cc009d9b72187fda8 (diff)
downloadpoky-5c9dc408aaf62fc97b36fd1eb601085870a87699.tar.gz
gcc: move cc1 binary file to package cpp.
The file /usr/libexec/gcc/.../cc1 has been installed in package gcc instead of package cpp, because FILES statements for both packages match the cc1 binary. Move the file to package cpp and add cpp to RDEPENDS_gcc to fix the dependency. Having the cc1 binary in cpp fixes errors such as: "cpp: error trying to exec 'cc1': execvp: No such file or directory". (From OE-Core rev: 4bf84edeb6cf4ba82a21bc7ceb1da4f59d839064) Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.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')
-rw-r--r--meta/recipes-devtools/gcc/gcc-target.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-target.inc b/meta/recipes-devtools/gcc/gcc-target.inc
index f436fa24f4..b245bdd8d4 100644
--- a/meta/recipes-devtools/gcc/gcc-target.inc
+++ b/meta/recipes-devtools/gcc/gcc-target.inc
@@ -31,7 +31,7 @@ PACKAGES = "\
31FILES_${PN} = "\ 31FILES_${PN} = "\
32 ${bindir}/${TARGET_PREFIX}gcc* \ 32 ${bindir}/${TARGET_PREFIX}gcc* \
33 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/collect2* \ 33 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/collect2* \
34 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/cc* \ 34 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/cc1plus \
35 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/lto* \ 35 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/lto* \
36 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/lib*${SOLIBS} \ 36 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/lib*${SOLIBS} \
37 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/liblto*${SOLIBSDEV} \ 37 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/liblto*${SOLIBSDEV} \
@@ -46,6 +46,7 @@ RRECOMMENDS_${PN} += "\
46 libssp \ 46 libssp \
47 libssp-dev \ 47 libssp-dev \
48" 48"
49RDEPENDS_${PN} += "cpp"
49 50
50FILES_${PN}-dev = "\ 51FILES_${PN}-dev = "\
51 ${gcclibdir}/${TARGET_SYS}/${BINV}/lib*${SOLIBSDEV} \ 52 ${gcclibdir}/${TARGET_SYS}/${BINV}/lib*${SOLIBSDEV} \