diff options
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-runtime.inc | 31 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-target.inc | 1 |
2 files changed, 27 insertions, 5 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc index b88288963e..2599760569 100644 --- a/meta/recipes-devtools/gcc/gcc-runtime.inc +++ b/meta/recipes-devtools/gcc/gcc-runtime.inc | |||
@@ -48,6 +48,7 @@ do_install () { | |||
48 | oe_runmake 'DESTDIR=${D}' MULTIBUILDTOP=${B}/$target/$d/ install | 48 | oe_runmake 'DESTDIR=${D}' MULTIBUILDTOP=${B}/$target/$d/ install |
49 | done | 49 | done |
50 | rm -rf ${D}${infodir}/libgomp.info ${D}${infodir}/dir | 50 | rm -rf ${D}${infodir}/libgomp.info ${D}${infodir}/dir |
51 | rm -rf ${D}${infodir}/libquadmath.info ${D}${infodir}/dir | ||
51 | if [ -d ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/finclude ]; then | 52 | if [ -d ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/finclude ]; then |
52 | rmdir --ignore-fail-on-non-empty -p ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/finclude | 53 | rmdir --ignore-fail-on-non-empty -p ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/finclude |
53 | fi | 54 | fi |
@@ -76,8 +77,13 @@ PACKAGES = "\ | |||
76 | libssp-staticdev \ | 77 | libssp-staticdev \ |
77 | libgfortran \ | 78 | libgfortran \ |
78 | libgfortran-dev \ | 79 | libgfortran-dev \ |
80 | libgfortran-staticdev \ | ||
79 | libmudflap \ | 81 | libmudflap \ |
80 | libmudflap-dev \ | 82 | libmudflap-dev \ |
83 | libmudflap-staticdev \ | ||
84 | libquadmath \ | ||
85 | libquadmath-dev \ | ||
86 | libquadmath-staticdev \ | ||
81 | libgomp \ | 87 | libgomp \ |
82 | libgomp-dev \ | 88 | libgomp-dev \ |
83 | libgomp-staticdev \ | 89 | libgomp-staticdev \ |
@@ -119,15 +125,30 @@ FILES_libssp-staticdev = " \ | |||
119 | 125 | ||
120 | FILES_libgfortran = "${libdir}/libgfortran.so.*" | 126 | FILES_libgfortran = "${libdir}/libgfortran.so.*" |
121 | FILES_libgfortran-dev = " \ | 127 | FILES_libgfortran-dev = " \ |
122 | ${libdir}/libgfortran.a \ | 128 | ${libdir}/libgfortran*.so \ |
123 | ${libdir}/libgfortran.so \ | 129 | ${libdir}/libgfortran.spec \ |
124 | ${libdir}/libgfortranbegin.a" | 130 | ${libdir}/libgfortran.la \ |
131 | ${libdir}/gcc/${TARGET_SYS}/${BINV}/libgfortranbegin.* \ | ||
132 | ${libdir}/gcc/${TARGET_SYS}/${BINV}/libcaf_single*" | ||
133 | FILES_libgfortran-staticdev = " \ | ||
134 | ${libdir}/libgfortran.a" | ||
135 | |||
136 | INSANE_SKIP_${MLPREFIX}libgfortran-dev = "staticdev" | ||
137 | |||
138 | FILES_libquadmath = "${libdir}/libquadmath*.so.*" | ||
139 | FILES_libquadmath-dev = "\ | ||
140 | ${libdir}/gcc/${TARGET_SYS}/${BINV}/include/quadmath* \ | ||
141 | ${libdir}/libquadmath*.so \ | ||
142 | ${libdir}/libquadmath.la" | ||
143 | FILES_libquadmath-staticdev = "\ | ||
144 | ${libdir}/libquadmath.a" | ||
125 | 145 | ||
126 | FILES_libmudflap = "${libdir}/libmudflap*.so.*" | 146 | FILES_libmudflap = "${libdir}/libmudflap*.so.*" |
127 | FILES_libmudflap-dev = "\ | 147 | FILES_libmudflap-dev = "\ |
128 | ${libdir}/libmudflap*.so \ | 148 | ${libdir}/libmudflap*.so \ |
129 | ${libdir}/libmudflap*.a \ | 149 | ${libdir}/libmudflap.la" |
130 | ${libdir}/libmudflap*.la" | 150 | FILES_libmudflap-staticdev = "\ |
151 | ${libdir}/libmudflap.a" | ||
131 | 152 | ||
132 | FILES_libgomp = "${libdir}/libgomp*${SOLIBS}" | 153 | FILES_libgomp = "${libdir}/libgomp*${SOLIBS}" |
133 | FILES_libgomp-dev = "\ | 154 | FILES_libgomp-dev = "\ |
diff --git a/meta/recipes-devtools/gcc/gcc-target.inc b/meta/recipes-devtools/gcc/gcc-target.inc index 150fbba419..c7e3e164d8 100644 --- a/meta/recipes-devtools/gcc/gcc-target.inc +++ b/meta/recipes-devtools/gcc/gcc-target.inc | |||
@@ -110,6 +110,7 @@ do_install () { | |||
110 | rm -r ${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/install-tools | 110 | rm -r ${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/install-tools |
111 | rm -rf ${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/*.la | 111 | rm -rf ${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/*.la |
112 | rmdir ${D}${includedir} | 112 | rmdir ${D}${includedir} |
113 | rm -rf ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/finclude | ||
113 | 114 | ||
114 | # Hack around specs file assumptions | 115 | # Hack around specs file assumptions |
115 | test -f ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/specs && sed -i -e '/^*cross_compile:$/ { n; s/1/0/; }' ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/specs | 116 | test -f ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/specs && sed -i -e '/^*cross_compile:$/ { n; s/1/0/; }' ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/specs |