diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-28 23:28:15 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-02 15:44:10 +0100 |
commit | bb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch) | |
tree | 76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/recipes-devtools/gcc/gcc-runtime.inc | |
parent | fcc456ee4b8f619134abb4649db53c638074082c (diff) | |
download | poky-bb6ddc3691ab04162ec5fd69a2d5e7876713fd15.tar.gz |
Convert to new override syntax
This is the result of automated script conversion:
scripts/contrib/convert-overrides.py <oe-core directory>
converting the metadata to use ":" as the override character instead of "_".
(From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-runtime.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-runtime.inc | 128 |
1 files changed, 64 insertions, 64 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc index 59d9a24686..9e39d49d14 100644 --- a/meta/recipes-devtools/gcc/gcc-runtime.inc +++ b/meta/recipes-devtools/gcc/gcc-runtime.inc | |||
@@ -6,7 +6,7 @@ SUMMARY = "Runtime libraries from GCC" | |||
6 | # All gcc-runtime packages are now covered by the runtime exception. | 6 | # All gcc-runtime packages are now covered by the runtime exception. |
7 | LICENSE = "GPL-3.0-with-GCC-exception" | 7 | LICENSE = "GPL-3.0-with-GCC-exception" |
8 | 8 | ||
9 | CXXFLAGS_remove = "-fvisibility-inlines-hidden" | 9 | CXXFLAGS:remove = "-fvisibility-inlines-hidden" |
10 | 10 | ||
11 | EXTRA_OECONF_PATHS = "\ | 11 | EXTRA_OECONF_PATHS = "\ |
12 | --with-gxx-include-dir=${includedir}/c++/${BINV} \ | 12 | --with-gxx-include-dir=${includedir}/c++/${BINV} \ |
@@ -14,37 +14,37 @@ EXTRA_OECONF_PATHS = "\ | |||
14 | --with-build-sysroot=${STAGING_DIR_TARGET} \ | 14 | --with-build-sysroot=${STAGING_DIR_TARGET} \ |
15 | " | 15 | " |
16 | 16 | ||
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 | EXTRA_OECONF_append_libc-newlib = " --with-newlib" | 19 | EXTRA_OECONF:append:libc-newlib = " --with-newlib" |
20 | 20 | ||
21 | # Disable ifuncs for libatomic on arm conflicts -march/-mcpu | 21 | # Disable ifuncs for libatomic on arm conflicts -march/-mcpu |
22 | EXTRA_OECONF_append_arm = " libat_cv_have_ifunc=no " | 22 | EXTRA_OECONF:append:arm = " libat_cv_have_ifunc=no " |
23 | EXTRA_OECONF_append_armeb = " libat_cv_have_ifunc=no " | 23 | EXTRA_OECONF:append:armeb = " libat_cv_have_ifunc=no " |
24 | 24 | ||
25 | DISABLE_STATIC_class-nativesdk ?= "" | 25 | DISABLE_STATIC:class-nativesdk ?= "" |
26 | 26 | ||
27 | # Newlib does not support symbol versioning on libsdtcc++ | 27 | # Newlib does not support symbol versioning on libsdtcc++ |
28 | SYMVERS_CONF_libc-newlib = "" | 28 | SYMVERS_CONF:libc-newlib = "" |
29 | 29 | ||
30 | # Building with thumb enabled on armv6t fails | 30 | # Building with thumb enabled on armv6t fails |
31 | ARM_INSTRUCTION_SET_armv6 = "arm" | 31 | ARM_INSTRUCTION_SET:armv6 = "arm" |
32 | 32 | ||
33 | RUNTIMELIBITM = "libitm" | 33 | RUNTIMELIBITM = "libitm" |
34 | RUNTIMELIBITM_arc = "" | 34 | RUNTIMELIBITM:arc = "" |
35 | RUNTIMELIBITM_mipsarch = "" | 35 | RUNTIMELIBITM:mipsarch = "" |
36 | RUNTIMELIBITM_nios2 = "" | 36 | RUNTIMELIBITM:nios2 = "" |
37 | RUNTIMELIBITM_microblaze = "" | 37 | RUNTIMELIBITM:microblaze = "" |
38 | RUNTIMELIBITM_riscv32 = "" | 38 | RUNTIMELIBITM:riscv32 = "" |
39 | RUNTIMELIBITM_riscv64 = "" | 39 | RUNTIMELIBITM:riscv64 = "" |
40 | RUNTIMELIBSSP ?= "" | 40 | RUNTIMELIBSSP ?= "" |
41 | RUNTIMELIBSSP_mingw32 ?= "libssp" | 41 | RUNTIMELIBSSP:mingw32 ?= "libssp" |
42 | 42 | ||
43 | RUNTIMETARGET = "${RUNTIMELIBSSP} libstdc++-v3 libgomp libatomic ${RUNTIMELIBITM} \ | 43 | RUNTIMETARGET = "${RUNTIMELIBSSP} libstdc++-v3 libgomp libatomic ${RUNTIMELIBITM} \ |
44 | ${@bb.utils.contains_any('FORTRAN', [',fortran',',f77'], 'libquadmath', '', d)} \ | 44 | ${@bb.utils.contains_any('FORTRAN', [',fortran',',f77'], 'libquadmath', '', d)} \ |
45 | " | 45 | " |
46 | # Only build libstdc++ for newlib | 46 | # Only build libstdc++ for newlib |
47 | RUNTIMETARGET_libc-newlib = "libstdc++-v3" | 47 | RUNTIMETARGET:libc-newlib = "libstdc++-v3" |
48 | 48 | ||
49 | # libiberty | 49 | # libiberty |
50 | # libgfortran needs separate recipe due to libquadmath dependency | 50 | # libgfortran needs separate recipe due to libquadmath dependency |
@@ -52,7 +52,7 @@ RUNTIMETARGET_libc-newlib = "libstdc++-v3" | |||
52 | # Relative path to be repaced into debug info | 52 | # Relative path to be repaced into debug info |
53 | REL_S = "/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}" | 53 | REL_S = "/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}" |
54 | 54 | ||
55 | DEBUG_PREFIX_MAP_class-target = " \ | 55 | DEBUG_PREFIX_MAP:class-target = " \ |
56 | -fdebug-prefix-map=${WORKDIR}/recipe-sysroot= \ | 56 | -fdebug-prefix-map=${WORKDIR}/recipe-sysroot= \ |
57 | -fdebug-prefix-map=${WORKDIR}/recipe-sysroot-native= \ | 57 | -fdebug-prefix-map=${WORKDIR}/recipe-sysroot-native= \ |
58 | -fdebug-prefix-map=${S}=${REL_S} \ | 58 | -fdebug-prefix-map=${S}=${REL_S} \ |
@@ -109,7 +109,7 @@ do_install () { | |||
109 | fi | 109 | fi |
110 | } | 110 | } |
111 | 111 | ||
112 | do_install_append_class-target () { | 112 | do_install:append:class-target () { |
113 | if [ "${TARGET_OS}" = "linux-gnuspe" ]; then | 113 | if [ "${TARGET_OS}" = "linux-gnuspe" ]; then |
114 | ln -s ${TARGET_SYS} ${D}${includedir}/c++/${BINV}/${TARGET_ARCH}${TARGET_VENDOR}-linux | 114 | ln -s ${TARGET_SYS} ${D}${includedir}/c++/${BINV}/${TARGET_ARCH}${TARGET_VENDOR}-linux |
115 | fi | 115 | fi |
@@ -186,67 +186,67 @@ PACKAGES = "\ | |||
186 | libitm-staticdev \ | 186 | libitm-staticdev \ |
187 | " | 187 | " |
188 | # The base package doesn't exist, so we clear the recommends. | 188 | # The base package doesn't exist, so we clear the recommends. |
189 | RRECOMMENDS_${PN}-dbg = "" | 189 | RRECOMMENDS:${PN}-dbg = "" |
190 | 190 | ||
191 | # include python debugging scripts | 191 | # include python debugging scripts |
192 | FILES_${PN}-dbg += "\ | 192 | FILES:${PN}-dbg += "\ |
193 | ${libdir}/libstdc++.*-gdb.py \ | 193 | ${libdir}/libstdc++.*-gdb.py \ |
194 | ${datadir}/gcc-${BINV}/python/libstdcxx \ | 194 | ${datadir}/gcc-${BINV}/python/libstdcxx \ |
195 | " | 195 | " |
196 | 196 | ||
197 | FILES_libg2c = "${target_libdir}/libg2c.so.*" | 197 | FILES:libg2c = "${target_libdir}/libg2c.so.*" |
198 | SUMMARY_libg2c = "Companion runtime library for g77" | 198 | SUMMARY:libg2c = "Companion runtime library for g77" |
199 | FILES_libg2c-dev = "\ | 199 | FILES:libg2c-dev = "\ |
200 | ${libdir}/libg2c.so \ | 200 | ${libdir}/libg2c.so \ |
201 | ${libdir}/libg2c.a \ | 201 | ${libdir}/libg2c.a \ |
202 | ${libdir}/libfrtbegin.a \ | 202 | ${libdir}/libfrtbegin.a \ |
203 | " | 203 | " |
204 | SUMMARY_libg2c-dev = "Companion runtime library for g77 - development files" | 204 | SUMMARY:libg2c-dev = "Companion runtime library for g77 - development files" |
205 | 205 | ||
206 | FILES_libstdc++ = "${libdir}/libstdc++.so.*" | 206 | FILES:libstdc++ = "${libdir}/libstdc++.so.*" |
207 | SUMMARY_libstdc++ = "GNU standard C++ library" | 207 | SUMMARY:libstdc++ = "GNU standard C++ library" |
208 | FILES_libstdc++-dev = "\ | 208 | FILES:libstdc++-dev = "\ |
209 | ${includedir}/c++/ \ | 209 | ${includedir}/c++/ \ |
210 | ${libdir}/libstdc++.so \ | 210 | ${libdir}/libstdc++.so \ |
211 | ${libdir}/libstdc++*.la \ | 211 | ${libdir}/libstdc++*.la \ |
212 | ${libdir}/libsupc++.la \ | 212 | ${libdir}/libsupc++.la \ |
213 | " | 213 | " |
214 | SUMMARY_libstdc++-dev = "GNU standard C++ library - development files" | 214 | SUMMARY:libstdc++-dev = "GNU standard C++ library - development files" |
215 | FILES_libstdc++-staticdev = "\ | 215 | FILES:libstdc++-staticdev = "\ |
216 | ${libdir}/libstdc++*.a \ | 216 | ${libdir}/libstdc++*.a \ |
217 | ${libdir}/libsupc++.a \ | 217 | ${libdir}/libsupc++.a \ |
218 | " | 218 | " |
219 | SUMMARY_libstdc++-staticdev = "GNU standard C++ library - static development files" | 219 | SUMMARY:libstdc++-staticdev = "GNU standard C++ library - static development files" |
220 | 220 | ||
221 | FILES_libstdc++-precompile-dev = "${includedir}/c++/${TARGET_SYS}/bits/*.gch" | 221 | FILES:libstdc++-precompile-dev = "${includedir}/c++/${TARGET_SYS}/bits/*.gch" |
222 | SUMMARY_libstdc++-precompile-dev = "GNU standard C++ library - precompiled header files" | 222 | SUMMARY:libstdc++-precompile-dev = "GNU standard C++ library - precompiled header files" |
223 | 223 | ||
224 | FILES_libssp = "${libdir}/libssp.so.*" | 224 | FILES:libssp = "${libdir}/libssp.so.*" |
225 | SUMMARY_libssp = "GNU stack smashing protection library" | 225 | SUMMARY:libssp = "GNU stack smashing protection library" |
226 | FILES_libssp-dev = "\ | 226 | FILES:libssp-dev = "\ |
227 | ${libdir}/libssp*.so \ | 227 | ${libdir}/libssp*.so \ |
228 | ${libdir}/libssp*_nonshared.a \ | 228 | ${libdir}/libssp*_nonshared.a \ |
229 | ${libdir}/libssp*.la \ | 229 | ${libdir}/libssp*.la \ |
230 | ${libdir}/${TARGET_SYS}/${BINV}/include/ssp \ | 230 | ${libdir}/${TARGET_SYS}/${BINV}/include/ssp \ |
231 | " | 231 | " |
232 | SUMMARY_libssp-dev = "GNU stack smashing protection library - development files" | 232 | SUMMARY:libssp-dev = "GNU stack smashing protection library - development files" |
233 | FILES_libssp-staticdev = "${libdir}/libssp*.a" | 233 | FILES:libssp-staticdev = "${libdir}/libssp*.a" |
234 | SUMMARY_libssp-staticdev = "GNU stack smashing protection library - static development files" | 234 | SUMMARY:libssp-staticdev = "GNU stack smashing protection library - static development files" |
235 | 235 | ||
236 | FILES_libquadmath = "${libdir}/libquadmath*.so.*" | 236 | FILES:libquadmath = "${libdir}/libquadmath*.so.*" |
237 | SUMMARY_libquadmath = "GNU quad-precision math library" | 237 | SUMMARY:libquadmath = "GNU quad-precision math library" |
238 | FILES_libquadmath-dev = "\ | 238 | FILES:libquadmath-dev = "\ |
239 | ${libdir}/${TARGET_SYS}/${BINV}/include/quadmath* \ | 239 | ${libdir}/${TARGET_SYS}/${BINV}/include/quadmath* \ |
240 | ${libdir}/libquadmath*.so \ | 240 | ${libdir}/libquadmath*.so \ |
241 | ${libdir}/libquadmath.la \ | 241 | ${libdir}/libquadmath.la \ |
242 | " | 242 | " |
243 | SUMMARY_libquadmath-dev = "GNU quad-precision math library - development files" | 243 | SUMMARY:libquadmath-dev = "GNU quad-precision math library - development files" |
244 | FILES_libquadmath-staticdev = "${libdir}/libquadmath.a" | 244 | FILES:libquadmath-staticdev = "${libdir}/libquadmath.a" |
245 | SUMMARY_libquadmath-staticdev = "GNU quad-precision math library - static development files" | 245 | SUMMARY:libquadmath-staticdev = "GNU quad-precision math library - static development files" |
246 | 246 | ||
247 | FILES_libgomp = "${libdir}/libgomp*${SOLIBS}" | 247 | FILES:libgomp = "${libdir}/libgomp*${SOLIBS}" |
248 | SUMMARY_libgomp = "GNU OpenMP parallel programming library" | 248 | SUMMARY:libgomp = "GNU OpenMP parallel programming library" |
249 | FILES_libgomp-dev = "\ | 249 | FILES:libgomp-dev = "\ |
250 | ${libdir}/libgomp*${SOLIBSDEV} \ | 250 | ${libdir}/libgomp*${SOLIBSDEV} \ |
251 | ${libdir}/libgomp*.la \ | 251 | ${libdir}/libgomp*.la \ |
252 | ${libdir}/libgomp.spec \ | 252 | ${libdir}/libgomp.spec \ |
@@ -254,34 +254,34 @@ FILES_libgomp-dev = "\ | |||
254 | ${libdir}/${TARGET_SYS}/${BINV}/include/omp.h \ | 254 | ${libdir}/${TARGET_SYS}/${BINV}/include/omp.h \ |
255 | ${libdir}/${TARGET_SYS}/${BINV}/include/openacc.h \ | 255 | ${libdir}/${TARGET_SYS}/${BINV}/include/openacc.h \ |
256 | " | 256 | " |
257 | SUMMARY_libgomp-dev = "GNU OpenMP parallel programming library - development files" | 257 | SUMMARY:libgomp-dev = "GNU OpenMP parallel programming library - development files" |
258 | FILES_libgomp-staticdev = "${libdir}/libgomp*.a" | 258 | FILES:libgomp-staticdev = "${libdir}/libgomp*.a" |
259 | SUMMARY_libgomp-staticdev = "GNU OpenMP parallel programming library - static development files" | 259 | SUMMARY:libgomp-staticdev = "GNU OpenMP parallel programming library - static development files" |
260 | 260 | ||
261 | FILES_libatomic = "${libdir}/libatomic.so.*" | 261 | FILES:libatomic = "${libdir}/libatomic.so.*" |
262 | SUMMARY_libatomic = "GNU C++11 atomics support library" | 262 | SUMMARY:libatomic = "GNU C++11 atomics support library" |
263 | FILES_libatomic-dev = "\ | 263 | FILES:libatomic-dev = "\ |
264 | ${libdir}/libatomic.so \ | 264 | ${libdir}/libatomic.so \ |
265 | ${libdir}/libatomic.la \ | 265 | ${libdir}/libatomic.la \ |
266 | " | 266 | " |
267 | SUMMARY_libatomic-dev = "GNU C++11 atomics support library - development files" | 267 | SUMMARY:libatomic-dev = "GNU C++11 atomics support library - development files" |
268 | FILES_libatomic-staticdev = "${libdir}/libatomic.a" | 268 | FILES:libatomic-staticdev = "${libdir}/libatomic.a" |
269 | SUMMARY_libatomic-staticdev = "GNU C++11 atomics support library - static development files" | 269 | SUMMARY:libatomic-staticdev = "GNU C++11 atomics support library - static development files" |
270 | 270 | ||
271 | FILES_libitm = "${libdir}/libitm.so.*" | 271 | FILES:libitm = "${libdir}/libitm.so.*" |
272 | SUMMARY_libitm = "GNU transactional memory support library" | 272 | SUMMARY:libitm = "GNU transactional memory support library" |
273 | FILES_libitm-dev = "\ | 273 | FILES:libitm-dev = "\ |
274 | ${libdir}/libitm.so \ | 274 | ${libdir}/libitm.so \ |
275 | ${libdir}/libitm.la \ | 275 | ${libdir}/libitm.la \ |
276 | ${libdir}/libitm.spec \ | 276 | ${libdir}/libitm.spec \ |
277 | " | 277 | " |
278 | SUMMARY_libitm-dev = "GNU transactional memory support library - development files" | 278 | SUMMARY:libitm-dev = "GNU transactional memory support library - development files" |
279 | FILES_libitm-staticdev = "${libdir}/libitm.a" | 279 | FILES:libitm-staticdev = "${libdir}/libitm.a" |
280 | SUMMARY_libitm-staticdev = "GNU transactional memory support library - static development files" | 280 | SUMMARY:libitm-staticdev = "GNU transactional memory support library - static development files" |
281 | 281 | ||
282 | require gcc-testsuite.inc | 282 | require gcc-testsuite.inc |
283 | 283 | ||
284 | EXTRA_OEMAKE_prepend_task-check = "${PARALLEL_MAKE} " | 284 | EXTRA_OEMAKE:prepend_task-check = "${PARALLEL_MAKE} " |
285 | 285 | ||
286 | MAKE_CHECK_TARGETS ??= "check-gcc ${@" ".join("check-target-" + i for i in d.getVar("RUNTIMETARGET").split())}" | 286 | MAKE_CHECK_TARGETS ??= "check-gcc ${@" ".join("check-target-" + i for i in d.getVar("RUNTIMETARGET").split())}" |
287 | # prettyprinters and xmethods require gdb tooling | 287 | # prettyprinters and xmethods require gdb tooling |