diff options
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-runtime.inc | 18 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-runtime_8.3.bb | 10 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-runtime_9.1.bb | 10 |
3 files changed, 15 insertions, 23 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc index a5c2600d7f..22c1d78dd1 100644 --- a/meta/recipes-devtools/gcc/gcc-runtime.inc +++ b/meta/recipes-devtools/gcc/gcc-runtime.inc | |||
| @@ -17,6 +17,12 @@ EXTRA_OECONF_PATHS = "\ | |||
| 17 | EXTRA_OECONF_append_linuxstdbase = " --enable-clocale=gnu" | 17 | EXTRA_OECONF_append_linuxstdbase = " --enable-clocale=gnu" |
| 18 | EXTRA_OECONF_append = " --cache-file=${B}/config.cache" | 18 | EXTRA_OECONF_append = " --cache-file=${B}/config.cache" |
| 19 | 19 | ||
| 20 | # Disable ifuncs for libatomic on arm conflicts -march/-mcpu | ||
| 21 | EXTRA_OECONF_append_arm = " libat_cv_have_ifunc=no " | ||
| 22 | |||
| 23 | # Building with thumb enabled on armv6t fails | ||
| 24 | ARM_INSTRUCTION_SET_armv6 = "arm" | ||
| 25 | |||
| 20 | RUNTIMELIBITM = "libitm" | 26 | RUNTIMELIBITM = "libitm" |
| 21 | RUNTIMELIBITM_arc = "" | 27 | RUNTIMELIBITM_arc = "" |
| 22 | RUNTIMELIBITM_mipsarch = "" | 28 | RUNTIMELIBITM_mipsarch = "" |
| @@ -77,6 +83,11 @@ do_install () { | |||
| 77 | cd ${B}/${TARGET_SYS}/$d/ | 83 | cd ${B}/${TARGET_SYS}/$d/ |
| 78 | oe_runmake 'DESTDIR=${D}' MULTIBUILDTOP=${B}/${TARGET_SYS}/$d/ install | 84 | oe_runmake 'DESTDIR=${D}' MULTIBUILDTOP=${B}/${TARGET_SYS}/$d/ install |
| 79 | done | 85 | done |
| 86 | if [ -d ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include ]; then | ||
| 87 | install -d ${D}${libdir}/${TARGET_SYS}/${BINV}/include | ||
| 88 | mv ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include/* ${D}${libdir}/${TARGET_SYS}/${BINV}/include | ||
| 89 | rmdir --ignore-fail-on-non-empty -p ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include | ||
| 90 | fi | ||
| 80 | rm -rf ${D}${infodir}/libgomp.info ${D}${infodir}/dir | 91 | rm -rf ${D}${infodir}/libgomp.info ${D}${infodir}/dir |
| 81 | rm -rf ${D}${infodir}/libitm.info ${D}${infodir}/dir | 92 | rm -rf ${D}${infodir}/libitm.info ${D}${infodir}/dir |
| 82 | rm -rf ${D}${infodir}/libquadmath.info ${D}${infodir}/dir | 93 | rm -rf ${D}${infodir}/libquadmath.info ${D}${infodir}/dir |
| @@ -205,7 +216,7 @@ FILES_libssp-dev = "\ | |||
| 205 | ${libdir}/libssp*.so \ | 216 | ${libdir}/libssp*.so \ |
| 206 | ${libdir}/libssp*_nonshared.a \ | 217 | ${libdir}/libssp*_nonshared.a \ |
| 207 | ${libdir}/libssp*.la \ | 218 | ${libdir}/libssp*.la \ |
| 208 | ${libdir}/gcc/${TARGET_SYS}/${BINV}/include/ssp \ | 219 | ${libdir}/${TARGET_SYS}/${BINV}/include/ssp \ |
| 209 | " | 220 | " |
| 210 | SUMMARY_libssp-dev = "GNU stack smashing protection library - development files" | 221 | SUMMARY_libssp-dev = "GNU stack smashing protection library - development files" |
| 211 | FILES_libssp-staticdev = "${libdir}/libssp*.a" | 222 | FILES_libssp-staticdev = "${libdir}/libssp*.a" |
| @@ -214,7 +225,7 @@ SUMMARY_libssp-staticdev = "GNU stack smashing protection library - static devel | |||
| 214 | FILES_libquadmath = "${libdir}/libquadmath*.so.*" | 225 | FILES_libquadmath = "${libdir}/libquadmath*.so.*" |
| 215 | SUMMARY_libquadmath = "GNU quad-precision math library" | 226 | SUMMARY_libquadmath = "GNU quad-precision math library" |
| 216 | FILES_libquadmath-dev = "\ | 227 | FILES_libquadmath-dev = "\ |
| 217 | ${libdir}/gcc/${TARGET_SYS}/${BINV}/include/quadmath* \ | 228 | ${libdir}/${TARGET_SYS}/${BINV}/include/quadmath* \ |
| 218 | ${libdir}/libquadmath*.so \ | 229 | ${libdir}/libquadmath*.so \ |
| 219 | ${libdir}/libquadmath.la \ | 230 | ${libdir}/libquadmath.la \ |
| 220 | " | 231 | " |
| @@ -239,7 +250,8 @@ FILES_libgomp-dev = "\ | |||
| 239 | ${libdir}/libgomp*${SOLIBSDEV} \ | 250 | ${libdir}/libgomp*${SOLIBSDEV} \ |
| 240 | ${libdir}/libgomp*.la \ | 251 | ${libdir}/libgomp*.la \ |
| 241 | ${libdir}/libgomp.spec \ | 252 | ${libdir}/libgomp.spec \ |
| 242 | ${libdir}/gcc/${TARGET_SYS}/${BINV}/include/omp.h \ | 253 | ${libdir}/${TARGET_SYS}/${BINV}/include/omp.h \ |
| 254 | ${libdir}/${TARGET_SYS}/${BINV}/include/openacc.h \ | ||
| 243 | " | 255 | " |
| 244 | SUMMARY_libgomp-dev = "GNU OpenMP parallel programming library - development files" | 256 | SUMMARY_libgomp-dev = "GNU OpenMP parallel programming library - development files" |
| 245 | FILES_libgomp-staticdev = "${libdir}/libgomp*.a" | 257 | FILES_libgomp-staticdev = "${libdir}/libgomp*.a" |
diff --git a/meta/recipes-devtools/gcc/gcc-runtime_8.3.bb b/meta/recipes-devtools/gcc/gcc-runtime_8.3.bb index a1c7a76d0b..dd430b57eb 100644 --- a/meta/recipes-devtools/gcc/gcc-runtime_8.3.bb +++ b/meta/recipes-devtools/gcc/gcc-runtime_8.3.bb | |||
| @@ -1,12 +1,2 @@ | |||
| 1 | require recipes-devtools/gcc/gcc-${PV}.inc | 1 | require recipes-devtools/gcc/gcc-${PV}.inc |
| 2 | require gcc-runtime.inc | 2 | require gcc-runtime.inc |
| 3 | |||
| 4 | # Disable ifuncs for libatomic on arm conflicts -march/-mcpu | ||
| 5 | EXTRA_OECONF_append_arm = " libat_cv_have_ifunc=no " | ||
| 6 | |||
| 7 | FILES_libgomp-dev += "\ | ||
| 8 | ${libdir}/gcc/${TARGET_SYS}/${BINV}/include/openacc.h \ | ||
| 9 | " | ||
| 10 | |||
| 11 | # Building with thumb enabled on armv6t fails | ||
| 12 | ARM_INSTRUCTION_SET_armv6 = "arm" | ||
diff --git a/meta/recipes-devtools/gcc/gcc-runtime_9.1.bb b/meta/recipes-devtools/gcc/gcc-runtime_9.1.bb index a1c7a76d0b..dd430b57eb 100644 --- a/meta/recipes-devtools/gcc/gcc-runtime_9.1.bb +++ b/meta/recipes-devtools/gcc/gcc-runtime_9.1.bb | |||
| @@ -1,12 +1,2 @@ | |||
| 1 | require recipes-devtools/gcc/gcc-${PV}.inc | 1 | require recipes-devtools/gcc/gcc-${PV}.inc |
| 2 | require gcc-runtime.inc | 2 | require gcc-runtime.inc |
| 3 | |||
| 4 | # Disable ifuncs for libatomic on arm conflicts -march/-mcpu | ||
| 5 | EXTRA_OECONF_append_arm = " libat_cv_have_ifunc=no " | ||
| 6 | |||
| 7 | FILES_libgomp-dev += "\ | ||
| 8 | ${libdir}/gcc/${TARGET_SYS}/${BINV}/include/openacc.h \ | ||
| 9 | " | ||
| 10 | |||
| 11 | # Building with thumb enabled on armv6t fails | ||
| 12 | ARM_INSTRUCTION_SET_armv6 = "arm" | ||
