diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2016-07-07 11:48:34 +1200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-12 23:10:14 +0100 |
commit | 1c0fc7fcf7772ef8774f623126050972f526fe83 (patch) | |
tree | d05633e11932c59c72d99268a370275b1337c495 /meta/recipes-devtools/gcc/gcc-target.inc | |
parent | 7355e4ef979b6433ee46a8202c89608bc62188e9 (diff) | |
download | poky-1c0fc7fcf7772ef8774f623126050972f526fe83.tar.gz |
gcc: add runtime packages to RRECOMMENDS
In order to use certain features of gcc, you need the corresponding
runtime library. It seems to me that these ought to be installed by
default when installing the compiler since they are required if certain
command line options are used, so add them to RRECOMMENDS. I used
RRECOMMENDS since some of these packages may or may not exist depending
on architecture and build options; additionally it makes it possible to
use BAD_RECOMMENDATIONS if you really want to exclude them.
The impact of this isn't too bad in the context of an image providing
on-target compilation - about a 30MB increase in size for an image
containing gcc and g++.
(From OE-Core rev: 658d9a764e91f394472c9082a3ed3fa7b9b417d2)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.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/gcc-target.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-target.inc | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-target.inc b/meta/recipes-devtools/gcc/gcc-target.inc index 37c5c62aef..f436fa24f4 100644 --- a/meta/recipes-devtools/gcc/gcc-target.inc +++ b/meta/recipes-devtools/gcc/gcc-target.inc | |||
@@ -42,6 +42,10 @@ FILES_${PN} = "\ | |||
42 | ${gcclibdir}/${TARGET_SYS}/${BINV}/include-fixed \ | 42 | ${gcclibdir}/${TARGET_SYS}/${BINV}/include-fixed \ |
43 | " | 43 | " |
44 | INSANE_SKIP_${PN} += "dev-so" | 44 | INSANE_SKIP_${PN} += "dev-so" |
45 | RRECOMMENDS_${PN} += "\ | ||
46 | libssp \ | ||
47 | libssp-dev \ | ||
48 | " | ||
45 | 49 | ||
46 | FILES_${PN}-dev = "\ | 50 | FILES_${PN}-dev = "\ |
47 | ${gcclibdir}/${TARGET_SYS}/${BINV}/lib*${SOLIBSDEV} \ | 51 | ${gcclibdir}/${TARGET_SYS}/${BINV}/lib*${SOLIBSDEV} \ |
@@ -69,10 +73,19 @@ FILES_g77-symlinks = "\ | |||
69 | ${bindir}/g77 \ | 73 | ${bindir}/g77 \ |
70 | ${bindir}/f77 \ | 74 | ${bindir}/f77 \ |
71 | " | 75 | " |
76 | RRECOMMENDS_g77 = "\ | ||
77 | libg2c \ | ||
78 | libg2c-dev \ | ||
79 | " | ||
80 | |||
72 | FILES_gfortran = "\ | 81 | FILES_gfortran = "\ |
73 | ${bindir}/${TARGET_PREFIX}gfortran \ | 82 | ${bindir}/${TARGET_PREFIX}gfortran \ |
74 | ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/f951 \ | 83 | ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/f951 \ |
75 | " | 84 | " |
85 | RRECOMMENDS_gfortran = "\ | ||
86 | libquadmath \ | ||
87 | libquadmath-dev \ | ||
88 | " | ||
76 | FILES_gfortran-symlinks = "\ | 89 | FILES_gfortran-symlinks = "\ |
77 | ${bindir}/gfortran \ | 90 | ${bindir}/gfortran \ |
78 | ${bindir}/f95" | 91 | ${bindir}/f95" |
@@ -98,6 +111,12 @@ FILES_g++-symlinks = "\ | |||
98 | ${bindir}/c++ \ | 111 | ${bindir}/c++ \ |
99 | ${bindir}/g++ \ | 112 | ${bindir}/g++ \ |
100 | " | 113 | " |
114 | RRECOMMENDS_g++ = "\ | ||
115 | libstdc++ \ | ||
116 | libstdc++-dev \ | ||
117 | libatomic \ | ||
118 | libatomic-dev \ | ||
119 | " | ||
101 | 120 | ||
102 | FILES_${PN}-doc = "\ | 121 | FILES_${PN}-doc = "\ |
103 | ${infodir} \ | 122 | ${infodir} \ |