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 | |
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')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-11.1.inc | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-common.inc | 4 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-configure-common.inc | 24 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross-canadian.inc | 16 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross.inc | 10 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-multilib-config.inc | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-runtime.inc | 128 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-sanitizers.inc | 58 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-sanitizers_11.1.bb | 4 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-target.inc | 58 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc_11.1.bb | 10 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/libgcc-common.inc | 12 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/libgcc-initial.inc | 6 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/libgcc-initial_11.1.bb | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/libgcc.inc | 12 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/libgcc_11.1.bb | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/libgfortran.inc | 14 |
17 files changed, 182 insertions, 182 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-11.1.inc b/meta/recipes-devtools/gcc/gcc-11.1.inc index c21242af58..f1dec85a06 100644 --- a/meta/recipes-devtools/gcc/gcc-11.1.inc +++ b/meta/recipes-devtools/gcc/gcc-11.1.inc | |||
@@ -87,7 +87,7 @@ FORTRAN = "" | |||
87 | JAVA = "" | 87 | JAVA = "" |
88 | 88 | ||
89 | SSP ?= "--disable-libssp" | 89 | SSP ?= "--disable-libssp" |
90 | SSP_mingw32 = "--enable-libssp" | 90 | SSP:mingw32 = "--enable-libssp" |
91 | 91 | ||
92 | EXTRA_OECONF_BASE = "\ | 92 | EXTRA_OECONF_BASE = "\ |
93 | ${SSP} \ | 93 | ${SSP} \ |
diff --git a/meta/recipes-devtools/gcc/gcc-common.inc b/meta/recipes-devtools/gcc/gcc-common.inc index 629fa26dfe..74190644e6 100644 --- a/meta/recipes-devtools/gcc/gcc-common.inc +++ b/meta/recipes-devtools/gcc/gcc-common.inc | |||
@@ -12,7 +12,7 @@ inherit autotools gettext texinfo | |||
12 | 12 | ||
13 | BPN = "gcc" | 13 | BPN = "gcc" |
14 | COMPILERDEP = "virtual/${MLPREFIX}${TARGET_PREFIX}gcc:do_gcc_stash_builddir" | 14 | COMPILERDEP = "virtual/${MLPREFIX}${TARGET_PREFIX}gcc:do_gcc_stash_builddir" |
15 | COMPILERDEP_class-nativesdk = "virtual/${TARGET_PREFIX}gcc-crosssdk:do_gcc_stash_builddir" | 15 | COMPILERDEP:class-nativesdk = "virtual/${TARGET_PREFIX}gcc-crosssdk:do_gcc_stash_builddir" |
16 | 16 | ||
17 | python extract_stashed_builddir () { | 17 | python extract_stashed_builddir () { |
18 | src = d.expand("${COMPONENTS_DIR}/${BUILD_ARCH}/gcc-stashed-builddir-${TARGET_SYS}") | 18 | src = d.expand("${COMPONENTS_DIR}/${BUILD_ARCH}/gcc-stashed-builddir-${TARGET_SYS}") |
@@ -83,7 +83,7 @@ def get_tune_parameters(tune, d): | |||
83 | 83 | ||
84 | get_tune_parameters[vardepsexclude] = "AVAILTUNES TUNE_CCARGS OVERRIDES TUNE_FEATURES BASE_LIB BASELIB TUNE_ARCH ABIEXTENSION TARGET_FPU TUNE_PKGARCH PACKAGE_EXTRA_ARCHS" | 84 | get_tune_parameters[vardepsexclude] = "AVAILTUNES TUNE_CCARGS OVERRIDES TUNE_FEATURES BASE_LIB BASELIB TUNE_ARCH ABIEXTENSION TARGET_FPU TUNE_PKGARCH PACKAGE_EXTRA_ARCHS" |
85 | 85 | ||
86 | DEBIANNAME_${MLPREFIX}libgcc = "libgcc1" | 86 | DEBIANNAME:${MLPREFIX}libgcc = "libgcc1" |
87 | 87 | ||
88 | MIRRORS =+ "\ | 88 | MIRRORS =+ "\ |
89 | ${GNU_MIRROR}/gcc ftp://gcc.gnu.org/pub/gcc/releases/ \n \ | 89 | ${GNU_MIRROR}/gcc ftp://gcc.gnu.org/pub/gcc/releases/ \n \ |
diff --git a/meta/recipes-devtools/gcc/gcc-configure-common.inc b/meta/recipes-devtools/gcc/gcc-configure-common.inc index dc7f458b25..e9bc8e466c 100644 --- a/meta/recipes-devtools/gcc/gcc-configure-common.inc +++ b/meta/recipes-devtools/gcc/gcc-configure-common.inc | |||
@@ -45,27 +45,27 @@ EXTRA_OECONF = "\ | |||
45 | 45 | ||
46 | # glibc version is a minimum controlling whether features are enabled. | 46 | # glibc version is a minimum controlling whether features are enabled. |
47 | # Doesn't need to track glibc exactly | 47 | # Doesn't need to track glibc exactly |
48 | EXTRA_OECONF_append_libc-glibc = " --with-glibc-version=2.28 " | 48 | EXTRA_OECONF:append:libc-glibc = " --with-glibc-version=2.28 " |
49 | 49 | ||
50 | # Set this here since GCC configure won't auto-detect and enable | 50 | # Set this here since GCC configure won't auto-detect and enable |
51 | # initfini-arry when cross compiling. | 51 | # initfini-arry when cross compiling. |
52 | EXTRA_OECONF_append = " --enable-initfini-array" | 52 | EXTRA_OECONF:append = " --enable-initfini-array" |
53 | 53 | ||
54 | export gcc_cv_collect2_libs = 'none required' | 54 | export gcc_cv_collect2_libs = 'none required' |
55 | # We need to set gcc_cv_collect2_libs else there is cross-compilation badness | 55 | # We need to set gcc_cv_collect2_libs else there is cross-compilation badness |
56 | # in the config.log files (which might not get generated until do_compile | 56 | # in the config.log files (which might not get generated until do_compile |
57 | # hence being missed by the insane do_configure check). | 57 | # hence being missed by the insane do_configure check). |
58 | 58 | ||
59 | EXTRA_OECONF_append_linux = " --enable-__cxa_atexit" | 59 | EXTRA_OECONF:append_linux = " --enable-__cxa_atexit" |
60 | 60 | ||
61 | EXTRA_OECONF_append_mips64 = " --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64" | 61 | EXTRA_OECONF:append:mips64 = " --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64" |
62 | EXTRA_OECONF_append_mips64el = " --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64" | 62 | EXTRA_OECONF:append:mips64el = " --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64" |
63 | EXTRA_OECONF_append_mips64n32 = " --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64" | 63 | EXTRA_OECONF:append:mips64n32 = " --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64" |
64 | EXTRA_OECONF_append_mips64eln32 = " --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64" | 64 | EXTRA_OECONF:append:mips64eln32 = " --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64" |
65 | EXTRA_OECONF_append_mipsisa32r6el = " --with-abi=32 --with-arch=mips32r6" | 65 | EXTRA_OECONF:append:mipsisa32r6el = " --with-abi=32 --with-arch=mips32r6" |
66 | EXTRA_OECONF_append_mipsisa32r6 = " --with-abi=32 --with-arch=mips32r6" | 66 | EXTRA_OECONF:append:mipsisa32r6 = " --with-abi=32 --with-arch=mips32r6" |
67 | EXTRA_OECONF_append_mipsisa64r6el = " --with-abi=64 --with-arch-64=mips64r6" | 67 | EXTRA_OECONF:append:mipsisa64r6el = " --with-abi=64 --with-arch-64=mips64r6" |
68 | EXTRA_OECONF_append_mipsisa64r6 = " --with-abi=64 --with-arch-64=mips64r6" | 68 | EXTRA_OECONF:append:mipsisa64r6 = " --with-abi=64 --with-arch-64=mips64r6" |
69 | 69 | ||
70 | EXTRA_OECONF_GCC_FLOAT ??= "" | 70 | EXTRA_OECONF_GCC_FLOAT ??= "" |
71 | CPPFLAGS = "" | 71 | CPPFLAGS = "" |
@@ -74,7 +74,7 @@ SYSTEMHEADERS = "${target_includedir}" | |||
74 | SYSTEMLIBS = "${target_base_libdir}/" | 74 | SYSTEMLIBS = "${target_base_libdir}/" |
75 | SYSTEMLIBS1 = "${target_libdir}/" | 75 | SYSTEMLIBS1 = "${target_libdir}/" |
76 | 76 | ||
77 | do_configure_prepend () { | 77 | do_configure:prepend () { |
78 | # teach gcc to find correct target includedir when checking libc ssp support | 78 | # teach gcc to find correct target includedir when checking libc ssp support |
79 | mkdir -p ${B}/gcc | 79 | mkdir -p ${B}/gcc |
80 | echo "NATIVE_SYSTEM_HEADER_DIR = ${SYSTEMHEADERS}" > ${B}/gcc/t-oe | 80 | echo "NATIVE_SYSTEM_HEADER_DIR = ${SYSTEMHEADERS}" > ${B}/gcc/t-oe |
diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc index 1872faee1b..92fb1f38ba 100644 --- a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc +++ b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc | |||
@@ -65,7 +65,7 @@ do_compile () { | |||
65 | 65 | ||
66 | PACKAGES = "${PN}-dbg ${PN} ${PN}-doc" | 66 | PACKAGES = "${PN}-dbg ${PN} ${PN}-doc" |
67 | 67 | ||
68 | FILES_${PN} = "\ | 68 | FILES:${PN} = "\ |
69 | ${exec_prefix}/bin/* \ | 69 | ${exec_prefix}/bin/* \ |
70 | ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/* \ | 70 | ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/* \ |
71 | ${gcclibdir}/${TARGET_SYS}/${BINV}/*.o \ | 71 | ${gcclibdir}/${TARGET_SYS}/${BINV}/*.o \ |
@@ -81,9 +81,9 @@ FILES_${PN} = "\ | |||
81 | ${prefix}/${TARGET_SYS}/lib/* \ | 81 | ${prefix}/${TARGET_SYS}/lib/* \ |
82 | ${prefix}/${TARGET_SYS}${target_includedir}/* \ | 82 | ${prefix}/${TARGET_SYS}${target_includedir}/* \ |
83 | " | 83 | " |
84 | INSANE_SKIP_${PN} += "dev-so" | 84 | INSANE_SKIP:${PN} += "dev-so" |
85 | 85 | ||
86 | FILES_${PN}-doc = "\ | 86 | FILES:${PN}-doc = "\ |
87 | ${infodir} \ | 87 | ${infodir} \ |
88 | ${mandir} \ | 88 | ${mandir} \ |
89 | ${gcclibdir}/${TARGET_SYS}/${BINV}/include/README \ | 89 | ${gcclibdir}/${TARGET_SYS}/${BINV}/include/README \ |
@@ -173,16 +173,16 @@ do_install () { | |||
173 | 173 | ||
174 | ELFUTILS = "nativesdk-elfutils" | 174 | ELFUTILS = "nativesdk-elfutils" |
175 | DEPENDS += "nativesdk-gmp nativesdk-mpfr nativesdk-libmpc ${ELFUTILS} nativesdk-zlib" | 175 | DEPENDS += "nativesdk-gmp nativesdk-mpfr nativesdk-libmpc ${ELFUTILS} nativesdk-zlib" |
176 | RDEPENDS_${PN} += "nativesdk-mpfr nativesdk-libmpc ${ELFUTILS}" | 176 | RDEPENDS:${PN} += "nativesdk-mpfr nativesdk-libmpc ${ELFUTILS}" |
177 | 177 | ||
178 | SYSTEMHEADERS = "${target_includedir}/" | 178 | SYSTEMHEADERS = "${target_includedir}/" |
179 | SYSTEMLIBS = "${target_base_libdir}/" | 179 | SYSTEMLIBS = "${target_base_libdir}/" |
180 | SYSTEMLIBS1 = "${target_libdir}/" | 180 | SYSTEMLIBS1 = "${target_libdir}/" |
181 | 181 | ||
182 | EXTRA_OECONF += "--enable-poison-system-directories" | 182 | EXTRA_OECONF += "--enable-poison-system-directories" |
183 | EXTRA_OECONF_remove_elf = "--with-sysroot=/not/exist" | 183 | EXTRA_OECONF:remove_elf = "--with-sysroot=/not/exist" |
184 | EXTRA_OECONF_remove_eabi = "--with-sysroot=/not/exist" | 184 | EXTRA_OECONF:remove_eabi = "--with-sysroot=/not/exist" |
185 | EXTRA_OECONF_append_elf = " --without-headers --with-newlib" | 185 | EXTRA_OECONF:append_elf = " --without-headers --with-newlib" |
186 | EXTRA_OECONF_append_eabi = " --without-headers --with-newlib" | 186 | EXTRA_OECONF:append_eabi = " --without-headers --with-newlib" |
187 | # gcc 4.7 needs -isystem | 187 | # gcc 4.7 needs -isystem |
188 | export ARCH_FLAGS_FOR_TARGET = "--sysroot=${STAGING_DIR_TARGET} -isystem=${target_includedir}" | 188 | export ARCH_FLAGS_FOR_TARGET = "--sysroot=${STAGING_DIR_TARGET} -isystem=${target_includedir}" |
diff --git a/meta/recipes-devtools/gcc/gcc-cross.inc b/meta/recipes-devtools/gcc/gcc-cross.inc index dca4036ab5..3ffa1f0c46 100644 --- a/meta/recipes-devtools/gcc/gcc-cross.inc +++ b/meta/recipes-devtools/gcc/gcc-cross.inc | |||
@@ -22,7 +22,7 @@ require gcc-configure-common.inc | |||
22 | LINKER_HASH_STYLE ?= "sysv" | 22 | LINKER_HASH_STYLE ?= "sysv" |
23 | 23 | ||
24 | EXTRA_OECONF += "--enable-poison-system-directories=error" | 24 | EXTRA_OECONF += "--enable-poison-system-directories=error" |
25 | EXTRA_OECONF_append_sh4 = " \ | 25 | EXTRA_OECONF:append:sh4 = " \ |
26 | --with-multilib-list= \ | 26 | --with-multilib-list= \ |
27 | --enable-incomplete-targets \ | 27 | --enable-incomplete-targets \ |
28 | " | 28 | " |
@@ -31,9 +31,9 @@ EXTRA_OECONF += "\ | |||
31 | --with-system-zlib \ | 31 | --with-system-zlib \ |
32 | " | 32 | " |
33 | 33 | ||
34 | EXTRA_OECONF_append_libc-baremetal = " --without-headers" | 34 | EXTRA_OECONF:append:libc-baremetal = " --without-headers" |
35 | EXTRA_OECONF_remove_libc-baremetal = "--enable-threads=posix" | 35 | EXTRA_OECONF:remove:libc-baremetal = "--enable-threads=posix" |
36 | EXTRA_OECONF_remove_libc-newlib = "--enable-threads=posix" | 36 | EXTRA_OECONF:remove:libc-newlib = "--enable-threads=posix" |
37 | 37 | ||
38 | EXTRA_OECONF_PATHS = "\ | 38 | EXTRA_OECONF_PATHS = "\ |
39 | --with-gxx-include-dir=/not/exist${target_includedir}/c++/${BINV} \ | 39 | --with-gxx-include-dir=/not/exist${target_includedir}/c++/${BINV} \ |
@@ -44,7 +44,7 @@ EXTRA_OECONF_PATHS = "\ | |||
44 | ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}" | 44 | ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}" |
45 | 45 | ||
46 | 46 | ||
47 | do_configure_prepend () { | 47 | do_configure:prepend () { |
48 | install -d ${RECIPE_SYSROOT}${target_includedir} | 48 | install -d ${RECIPE_SYSROOT}${target_includedir} |
49 | touch ${RECIPE_SYSROOT}${target_includedir}/limits.h | 49 | touch ${RECIPE_SYSROOT}${target_includedir}/limits.h |
50 | } | 50 | } |
diff --git a/meta/recipes-devtools/gcc/gcc-multilib-config.inc b/meta/recipes-devtools/gcc/gcc-multilib-config.inc index 31b8619be3..e90580d1cd 100644 --- a/meta/recipes-devtools/gcc/gcc-multilib-config.inc +++ b/meta/recipes-devtools/gcc/gcc-multilib-config.inc | |||
@@ -170,7 +170,7 @@ python gcc_multilib_setup() { | |||
170 | header_config_files = gcc_header_config_files[target_arch] | 170 | header_config_files = gcc_header_config_files[target_arch] |
171 | 171 | ||
172 | ml_list = ['DEFAULTTUNE_MULTILIB_ORIGINAL' if mlprefix else 'DEFAULTTUNE'] | 172 | ml_list = ['DEFAULTTUNE_MULTILIB_ORIGINAL' if mlprefix else 'DEFAULTTUNE'] |
173 | mltunes = [('DEFAULTTUNE_virtclass-multilib-%s' % ml) for ml in multilibs] | 173 | mltunes = [('DEFAULTTUNE:virtclass-multilib-%s' % ml) for ml in multilibs] |
174 | if mlprefix: | 174 | if mlprefix: |
175 | mlindex = 0 | 175 | mlindex = 0 |
176 | for ml in multilibs: | 176 | for ml in multilibs: |
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 |
diff --git a/meta/recipes-devtools/gcc/gcc-sanitizers.inc b/meta/recipes-devtools/gcc/gcc-sanitizers.inc index 59e91daaea..9881afa837 100644 --- a/meta/recipes-devtools/gcc/gcc-sanitizers.inc +++ b/meta/recipes-devtools/gcc/gcc-sanitizers.inc | |||
@@ -47,11 +47,11 @@ do_install () { | |||
47 | } | 47 | } |
48 | 48 | ||
49 | INHIBIT_DEFAULT_DEPS = "1" | 49 | INHIBIT_DEFAULT_DEPS = "1" |
50 | ALLOW_EMPTY_${PN} = "1" | 50 | ALLOW_EMPTY:${PN} = "1" |
51 | DEPENDS = "virtual/crypt gcc-runtime virtual/${TARGET_PREFIX}gcc" | 51 | DEPENDS = "virtual/crypt gcc-runtime virtual/${TARGET_PREFIX}gcc" |
52 | 52 | ||
53 | # used to fix ../../../../../../../../../work-shared/gcc-8.3.0-r0/gcc-8.3.0/libsanitizer/libbacktrace/../../libbacktrace/elf.c:772:21: error: 'st.st_mode' may be used uninitialized in this function [-Werror=maybe-uninitialized] | 53 | # used to fix ../../../../../../../../../work-shared/gcc-8.3.0-r0/gcc-8.3.0/libsanitizer/libbacktrace/../../libbacktrace/elf.c:772:21: error: 'st.st_mode' may be used uninitialized in this function [-Werror=maybe-uninitialized] |
54 | DEBUG_OPTIMIZATION_append = " -Wno-error" | 54 | DEBUG_OPTIMIZATION:append = " -Wno-error" |
55 | 55 | ||
56 | BBCLASSEXTEND = "nativesdk" | 56 | BBCLASSEXTEND = "nativesdk" |
57 | 57 | ||
@@ -60,19 +60,19 @@ PACKAGES += "libasan libubsan liblsan libtsan" | |||
60 | PACKAGES += "libasan-dev libubsan-dev liblsan-dev libtsan-dev" | 60 | PACKAGES += "libasan-dev libubsan-dev liblsan-dev libtsan-dev" |
61 | PACKAGES += "libasan-staticdev libubsan-staticdev liblsan-staticdev libtsan-staticdev" | 61 | PACKAGES += "libasan-staticdev libubsan-staticdev liblsan-staticdev libtsan-staticdev" |
62 | 62 | ||
63 | RDEPENDS_libasan += "libstdc++" | 63 | RDEPENDS:libasan += "libstdc++" |
64 | RDEPENDS_libubsan += "libstdc++" | 64 | RDEPENDS:libubsan += "libstdc++" |
65 | RDEPENDS_liblsan += "libstdc++" | 65 | RDEPENDS:liblsan += "libstdc++" |
66 | RDEPENDS_libtsan += "libstdc++" | 66 | RDEPENDS:libtsan += "libstdc++" |
67 | RDEPENDS_libasan-dev += "${PN}" | 67 | RDEPENDS:libasan-dev += "${PN}" |
68 | RDEPENDS_libubsan-dev += "${PN}" | 68 | RDEPENDS:libubsan-dev += "${PN}" |
69 | RDEPENDS_liblsan-dev += "${PN}" | 69 | RDEPENDS:liblsan-dev += "${PN}" |
70 | RDEPENDS_libtsan-dev += "${PN}" | 70 | RDEPENDS:libtsan-dev += "${PN}" |
71 | RRECOMMENDS_${PN} += "libasan libubsan" | 71 | RRECOMMENDS:${PN} += "libasan libubsan" |
72 | RRECOMMENDS_${PN}_append_x86 = " liblsan" | 72 | RRECOMMENDS:${PN}:append:x86 = " liblsan" |
73 | RRECOMMENDS_${PN}_append_x86-64 = " liblsan libtsan" | 73 | RRECOMMENDS:${PN}:append:x86-64 = " liblsan libtsan" |
74 | RRECOMMENDS_${PN}_append_powerpc64 = " liblsan libtsan" | 74 | RRECOMMENDS:${PN}:append:powerpc64 = " liblsan libtsan" |
75 | RRECOMMENDS_${PN}_append_aarch64 = " liblsan libtsan" | 75 | RRECOMMENDS:${PN}:append:aarch64 = " liblsan libtsan" |
76 | 76 | ||
77 | do_package_write_ipk[depends] += "virtual/${MLPREFIX}${TARGET_PREFIX}compilerlibs:do_packagedata" | 77 | do_package_write_ipk[depends] += "virtual/${MLPREFIX}${TARGET_PREFIX}compilerlibs:do_packagedata" |
78 | do_package_write_deb[depends] += "virtual/${MLPREFIX}${TARGET_PREFIX}compilerlibs:do_packagedata" | 78 | do_package_write_deb[depends] += "virtual/${MLPREFIX}${TARGET_PREFIX}compilerlibs:do_packagedata" |
@@ -81,40 +81,40 @@ do_package_write_rpm[depends] += "virtual/${MLPREFIX}${TARGET_PREFIX}compilerlib | |||
81 | # Only x86, powerpc, sparc, s390, arm, and aarch64 are supported | 81 | # Only x86, powerpc, sparc, s390, arm, and aarch64 are supported |
82 | COMPATIBLE_HOST = '(x86_64|i.86|powerpc|sparc|s390|arm|aarch64).*-linux' | 82 | COMPATIBLE_HOST = '(x86_64|i.86|powerpc|sparc|s390|arm|aarch64).*-linux' |
83 | # musl is currently broken entirely | 83 | # musl is currently broken entirely |
84 | COMPATIBLE_HOST_libc-musl = 'null' | 84 | COMPATIBLE_HOST:libc-musl = 'null' |
85 | 85 | ||
86 | FILES_libasan += "${libdir}/libasan.so.* ${libdir}/libhwasan.so.*" | 86 | FILES:libasan += "${libdir}/libasan.so.* ${libdir}/libhwasan.so.*" |
87 | FILES_libasan-dev += "\ | 87 | FILES:libasan-dev += "\ |
88 | ${libdir}/libasan_preinit.o \ | 88 | ${libdir}/libasan_preinit.o \ |
89 | ${libdir}/libasan.so \ | 89 | ${libdir}/libasan.so \ |
90 | ${libdir}/libhwasan.so \ | 90 | ${libdir}/libhwasan.so \ |
91 | ${libdir}/libasan.la \ | 91 | ${libdir}/libasan.la \ |
92 | " | 92 | " |
93 | FILES_libasan-staticdev += "${libdir}/libasan.a \ | 93 | FILES:libasan-staticdev += "${libdir}/libasan.a \ |
94 | ${libdir}/libhwasan.a \ | 94 | ${libdir}/libhwasan.a \ |
95 | " | 95 | " |
96 | 96 | ||
97 | FILES_libubsan += "${libdir}/libubsan.so.*" | 97 | FILES:libubsan += "${libdir}/libubsan.so.*" |
98 | FILES_libubsan-dev += "\ | 98 | FILES:libubsan-dev += "\ |
99 | ${libdir}/libubsan.so \ | 99 | ${libdir}/libubsan.so \ |
100 | ${libdir}/libubsan.la \ | 100 | ${libdir}/libubsan.la \ |
101 | " | 101 | " |
102 | FILES_libubsan-staticdev += "${libdir}/libubsan.a" | 102 | FILES:libubsan-staticdev += "${libdir}/libubsan.a" |
103 | 103 | ||
104 | FILES_liblsan += "${libdir}/liblsan.so.*" | 104 | FILES:liblsan += "${libdir}/liblsan.so.*" |
105 | FILES_liblsan-dev += "\ | 105 | FILES:liblsan-dev += "\ |
106 | ${libdir}/liblsan.so \ | 106 | ${libdir}/liblsan.so \ |
107 | ${libdir}/liblsan.la \ | 107 | ${libdir}/liblsan.la \ |
108 | ${libdir}/liblsan_preinit.o \ | 108 | ${libdir}/liblsan_preinit.o \ |
109 | " | 109 | " |
110 | FILES_liblsan-staticdev += "${libdir}/liblsan.a" | 110 | FILES:liblsan-staticdev += "${libdir}/liblsan.a" |
111 | 111 | ||
112 | FILES_libtsan += "${libdir}/libtsan.so.*" | 112 | FILES:libtsan += "${libdir}/libtsan.so.*" |
113 | FILES_libtsan-dev += "\ | 113 | FILES:libtsan-dev += "\ |
114 | ${libdir}/libtsan.so \ | 114 | ${libdir}/libtsan.so \ |
115 | ${libdir}/libtsan.la \ | 115 | ${libdir}/libtsan.la \ |
116 | ${libdir}/libtsan_*.o \ | 116 | ${libdir}/libtsan_*.o \ |
117 | " | 117 | " |
118 | FILES_libtsan-staticdev += "${libdir}/libtsan.a" | 118 | FILES:libtsan-staticdev += "${libdir}/libtsan.a" |
119 | 119 | ||
120 | FILES_${PN} = "${libdir}/*.spec ${libdir}/${TARGET_SYS}/${BINV}/include/sanitizer/*.h" | 120 | FILES:${PN} = "${libdir}/*.spec ${libdir}/${TARGET_SYS}/${BINV}/include/sanitizer/*.h" |
diff --git a/meta/recipes-devtools/gcc/gcc-sanitizers_11.1.bb b/meta/recipes-devtools/gcc/gcc-sanitizers_11.1.bb index f3c7058114..8bda2ccad6 100644 --- a/meta/recipes-devtools/gcc/gcc-sanitizers_11.1.bb +++ b/meta/recipes-devtools/gcc/gcc-sanitizers_11.1.bb | |||
@@ -3,5 +3,5 @@ require gcc-sanitizers.inc | |||
3 | 3 | ||
4 | # Building with thumb enabled on armv4t armv5t fails with | 4 | # Building with thumb enabled on armv4t armv5t fails with |
5 | # sanitizer_linux.s:5749: Error: lo register required -- `ldr ip,[sp],#8' | 5 | # sanitizer_linux.s:5749: Error: lo register required -- `ldr ip,[sp],#8' |
6 | ARM_INSTRUCTION_SET_armv4 = "arm" | 6 | ARM_INSTRUCTION_SET:armv4 = "arm" |
7 | ARM_INSTRUCTION_SET_armv5 = "arm" | 7 | ARM_INSTRUCTION_SET:armv5 = "arm" |
diff --git a/meta/recipes-devtools/gcc/gcc-target.inc b/meta/recipes-devtools/gcc/gcc-target.inc index 0ee3e83d42..bf55e692e6 100644 --- a/meta/recipes-devtools/gcc/gcc-target.inc +++ b/meta/recipes-devtools/gcc/gcc-target.inc | |||
@@ -5,7 +5,7 @@ EXTRA_OECONF_PATHS = "\ | |||
5 | --with-build-sysroot=${STAGING_DIR_TARGET} \ | 5 | --with-build-sysroot=${STAGING_DIR_TARGET} \ |
6 | " | 6 | " |
7 | 7 | ||
8 | EXTRA_OECONF_append_linuxstdbase = " --enable-clocale=gnu" | 8 | EXTRA_OECONF:append:linuxstdbase = " --enable-clocale=gnu" |
9 | 9 | ||
10 | # Configure gcc running on the target to default to an architecture which will | 10 | # Configure gcc running on the target to default to an architecture which will |
11 | # be compatible with that of gcc-runtime (which is cross compiled to be target | 11 | # be compatible with that of gcc-runtime (which is cross compiled to be target |
@@ -15,11 +15,11 @@ EXTRA_OECONF_append_linuxstdbase = " --enable-clocale=gnu" | |||
15 | 15 | ||
16 | ARMFPARCHEXT ?= "" | 16 | ARMFPARCHEXT ?= "" |
17 | 17 | ||
18 | EXTRA_OECONF_append_armv6_class-target = " --with-arch=armv6${ARMFPARCHEXT}" | 18 | EXTRA_OECONF:append:armv6:class-target = " --with-arch=armv6${ARMFPARCHEXT}" |
19 | EXTRA_OECONF_append_armv7a_class-target = " --with-arch=armv7-a${ARMFPARCHEXT}" | 19 | EXTRA_OECONF:append:armv7a:class-target = " --with-arch=armv7-a${ARMFPARCHEXT}" |
20 | EXTRA_OECONF_append_armv7ve_class-target = " --with-arch=armv7ve${ARMFPARCHEXT}" | 20 | EXTRA_OECONF:append:armv7ve:class-target = " --with-arch=armv7ve${ARMFPARCHEXT}" |
21 | EXTRA_OECONF_append_arc_class-target = " --with-cpu=${TUNE_PKGARCH}" | 21 | EXTRA_OECONF:append:arc:class-target = " --with-cpu=${TUNE_PKGARCH}" |
22 | EXTRA_OECONF_append_x86-64_class-target = " --with-arch=native" | 22 | EXTRA_OECONF:append:x86-64:class-target = " --with-arch=native" |
23 | 23 | ||
24 | # libcc1 requres gcc_cv_objdump when cross build, but gcc_cv_objdump is | 24 | # libcc1 requres gcc_cv_objdump when cross build, but gcc_cv_objdump is |
25 | # set in subdir gcc, so subdir libcc1 can't use it, export it here to | 25 | # set in subdir gcc, so subdir libcc1 can't use it, export it here to |
@@ -40,7 +40,7 @@ PACKAGES = "\ | |||
40 | ${PN}-dbg \ | 40 | ${PN}-dbg \ |
41 | " | 41 | " |
42 | 42 | ||
43 | FILES_${PN} = "\ | 43 | FILES:${PN} = "\ |
44 | ${bindir}/${TARGET_PREFIX}gcc* \ | 44 | ${bindir}/${TARGET_PREFIX}gcc* \ |
45 | ${bindir}/${TARGET_PREFIX}lto* \ | 45 | ${bindir}/${TARGET_PREFIX}lto* \ |
46 | ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/collect2* \ | 46 | ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/collect2* \ |
@@ -56,85 +56,85 @@ FILES_${PN} = "\ | |||
56 | ${gcclibdir}/${TARGET_SYS}/${BINV}/include-fixed \ | 56 | ${gcclibdir}/${TARGET_SYS}/${BINV}/include-fixed \ |
57 | ${libdir}/bfd-plugins/*.so \ | 57 | ${libdir}/bfd-plugins/*.so \ |
58 | " | 58 | " |
59 | INSANE_SKIP_${PN} += "dev-so" | 59 | INSANE_SKIP:${PN} += "dev-so" |
60 | RRECOMMENDS_${PN} += "\ | 60 | RRECOMMENDS:${PN} += "\ |
61 | libssp \ | 61 | libssp \ |
62 | libssp-dev \ | 62 | libssp-dev \ |
63 | " | 63 | " |
64 | RDEPENDS_${PN} += "cpp" | 64 | RDEPENDS:${PN} += "cpp" |
65 | 65 | ||
66 | FILES_${PN}-dev = "\ | 66 | FILES:${PN}-dev = "\ |
67 | ${gcclibdir}/${TARGET_SYS}/${BINV}/lib*${SOLIBSDEV} \ | 67 | ${gcclibdir}/${TARGET_SYS}/${BINV}/lib*${SOLIBSDEV} \ |
68 | ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/lib*${SOLIBSDEV} \ | 68 | ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/lib*${SOLIBSDEV} \ |
69 | ${gcclibdir}/${TARGET_SYS}/${BINV}/plugin/include/ \ | 69 | ${gcclibdir}/${TARGET_SYS}/${BINV}/plugin/include/ \ |
70 | ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/plugin/gengtype \ | 70 | ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/plugin/gengtype \ |
71 | ${gcclibdir}/${TARGET_SYS}/${BINV}/plugin/gtype.state \ | 71 | ${gcclibdir}/${TARGET_SYS}/${BINV}/plugin/gtype.state \ |
72 | " | 72 | " |
73 | FILES_${PN}-symlinks = "\ | 73 | FILES:${PN}-symlinks = "\ |
74 | ${bindir}/cc \ | 74 | ${bindir}/cc \ |
75 | ${bindir}/gcc \ | 75 | ${bindir}/gcc \ |
76 | ${bindir}/gccbug \ | 76 | ${bindir}/gccbug \ |
77 | " | 77 | " |
78 | 78 | ||
79 | FILES_${PN}-plugins = "\ | 79 | FILES:${PN}-plugins = "\ |
80 | ${gcclibdir}/${TARGET_SYS}/${BINV}/plugin \ | 80 | ${gcclibdir}/${TARGET_SYS}/${BINV}/plugin \ |
81 | " | 81 | " |
82 | ALLOW_EMPTY_${PN}-plugins = "1" | 82 | ALLOW_EMPTY:${PN}-plugins = "1" |
83 | 83 | ||
84 | FILES_g77 = "\ | 84 | FILES:g77 = "\ |
85 | ${bindir}/${TARGET_PREFIX}g77 \ | 85 | ${bindir}/${TARGET_PREFIX}g77 \ |
86 | ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/f771 \ | 86 | ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/f771 \ |
87 | " | 87 | " |
88 | FILES_g77-symlinks = "\ | 88 | FILES:g77-symlinks = "\ |
89 | ${bindir}/g77 \ | 89 | ${bindir}/g77 \ |
90 | ${bindir}/f77 \ | 90 | ${bindir}/f77 \ |
91 | " | 91 | " |
92 | RRECOMMENDS_g77 = "\ | 92 | RRECOMMENDS:g77 = "\ |
93 | libg2c \ | 93 | libg2c \ |
94 | libg2c-dev \ | 94 | libg2c-dev \ |
95 | " | 95 | " |
96 | 96 | ||
97 | FILES_gfortran = "\ | 97 | FILES:gfortran = "\ |
98 | ${bindir}/${TARGET_PREFIX}gfortran \ | 98 | ${bindir}/${TARGET_PREFIX}gfortran \ |
99 | ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/f951 \ | 99 | ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/f951 \ |
100 | " | 100 | " |
101 | RRECOMMENDS_gfortran = "\ | 101 | RRECOMMENDS:gfortran = "\ |
102 | libquadmath \ | 102 | libquadmath \ |
103 | libquadmath-dev \ | 103 | libquadmath-dev \ |
104 | " | 104 | " |
105 | FILES_gfortran-symlinks = "\ | 105 | FILES:gfortran-symlinks = "\ |
106 | ${bindir}/gfortran \ | 106 | ${bindir}/gfortran \ |
107 | ${bindir}/f95" | 107 | ${bindir}/f95" |
108 | 108 | ||
109 | FILES_cpp = "\ | 109 | FILES:cpp = "\ |
110 | ${bindir}/${TARGET_PREFIX}cpp* \ | 110 | ${bindir}/${TARGET_PREFIX}cpp* \ |
111 | ${base_libdir}/cpp \ | 111 | ${base_libdir}/cpp \ |
112 | ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/cc1" | 112 | ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/cc1" |
113 | FILES_cpp-symlinks = "${bindir}/cpp" | 113 | FILES:cpp-symlinks = "${bindir}/cpp" |
114 | 114 | ||
115 | FILES_gcov = "${bindir}/${TARGET_PREFIX}gcov* \ | 115 | FILES:gcov = "${bindir}/${TARGET_PREFIX}gcov* \ |
116 | ${bindir}/${TARGET_PREFIX}gcov-tool* \ | 116 | ${bindir}/${TARGET_PREFIX}gcov-tool* \ |
117 | " | 117 | " |
118 | FILES_gcov-symlinks = "${bindir}/gcov \ | 118 | FILES:gcov-symlinks = "${bindir}/gcov \ |
119 | ${bindir}/gcov-tool \ | 119 | ${bindir}/gcov-tool \ |
120 | " | 120 | " |
121 | 121 | ||
122 | FILES_g++ = "\ | 122 | FILES:g++ = "\ |
123 | ${bindir}/${TARGET_PREFIX}g++* \ | 123 | ${bindir}/${TARGET_PREFIX}g++* \ |
124 | ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/cc1plus \ | 124 | ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/cc1plus \ |
125 | " | 125 | " |
126 | FILES_g++-symlinks = "\ | 126 | FILES:g++-symlinks = "\ |
127 | ${bindir}/c++ \ | 127 | ${bindir}/c++ \ |
128 | ${bindir}/g++ \ | 128 | ${bindir}/g++ \ |
129 | " | 129 | " |
130 | RRECOMMENDS_g++ = "\ | 130 | RRECOMMENDS:g++ = "\ |
131 | libstdc++ \ | 131 | libstdc++ \ |
132 | libstdc++-dev \ | 132 | libstdc++-dev \ |
133 | libatomic \ | 133 | libatomic \ |
134 | libatomic-dev \ | 134 | libatomic-dev \ |
135 | " | 135 | " |
136 | 136 | ||
137 | FILES_${PN}-doc = "\ | 137 | FILES:${PN}-doc = "\ |
138 | ${infodir} \ | 138 | ${infodir} \ |
139 | ${mandir} \ | 139 | ${mandir} \ |
140 | ${gcclibdir}/${TARGET_SYS}/${BINV}/include/README \ | 140 | ${gcclibdir}/${TARGET_SYS}/${BINV}/include/README \ |
@@ -221,7 +221,7 @@ do_install () { | |||
221 | chown -R root:root ${D} | 221 | chown -R root:root ${D} |
222 | } | 222 | } |
223 | 223 | ||
224 | do_install_append () { | 224 | do_install:append () { |
225 | # | 225 | # |
226 | # Thefixinc.sh script, run on the gcc's compile phase, looks into sysroot header | 226 | # Thefixinc.sh script, run on the gcc's compile phase, looks into sysroot header |
227 | # files and places the modified files into | 227 | # files and places the modified files into |
diff --git a/meta/recipes-devtools/gcc/gcc_11.1.bb b/meta/recipes-devtools/gcc/gcc_11.1.bb index 7d93590588..255fe552bd 100644 --- a/meta/recipes-devtools/gcc/gcc_11.1.bb +++ b/meta/recipes-devtools/gcc/gcc_11.1.bb | |||
@@ -4,11 +4,11 @@ require gcc-target.inc | |||
4 | # Building with thumb enabled on armv4t armv5t fails with | 4 | # Building with thumb enabled on armv4t armv5t fails with |
5 | # | gcc-4.8.1-r0/gcc-4.8.1/gcc/cp/decl.c:7438:(.text.unlikely+0x2fa): relocation truncated to fit: R_ARM_THM_CALL against symbol `fancy_abort(char const*, int, char const*)' defined in .glue_7 section in linker stubs | 5 | # | gcc-4.8.1-r0/gcc-4.8.1/gcc/cp/decl.c:7438:(.text.unlikely+0x2fa): relocation truncated to fit: R_ARM_THM_CALL against symbol `fancy_abort(char const*, int, char const*)' defined in .glue_7 section in linker stubs |
6 | # | gcc-4.8.1-r0/gcc-4.8.1/gcc/cp/decl.c:7442:(.text.unlikely+0x318): additional relocation overflows omitted from the output | 6 | # | gcc-4.8.1-r0/gcc-4.8.1/gcc/cp/decl.c:7442:(.text.unlikely+0x318): additional relocation overflows omitted from the output |
7 | ARM_INSTRUCTION_SET_armv4 = "arm" | 7 | ARM_INSTRUCTION_SET:armv4 = "arm" |
8 | ARM_INSTRUCTION_SET_armv5 = "arm" | 8 | ARM_INSTRUCTION_SET:armv5 = "arm" |
9 | 9 | ||
10 | ARMFPARCHEXT_armv6 = "${@'+fp' if d.getVar('TARGET_FPU') == 'hard' else ''}" | 10 | ARMFPARCHEXT:armv6 = "${@'+fp' if d.getVar('TARGET_FPU') == 'hard' else ''}" |
11 | ARMFPARCHEXT_armv7a = "${@'+fp' if d.getVar('TARGET_FPU') == 'hard' else ''}" | 11 | ARMFPARCHEXT:armv7a = "${@'+fp' if d.getVar('TARGET_FPU') == 'hard' else ''}" |
12 | ARMFPARCHEXT_armv7ve = "${@'+fp' if d.getVar('TARGET_FPU') == 'hard' else ''}" | 12 | ARMFPARCHEXT:armv7ve = "${@'+fp' if d.getVar('TARGET_FPU') == 'hard' else ''}" |
13 | 13 | ||
14 | BBCLASSEXTEND = "nativesdk" | 14 | BBCLASSEXTEND = "nativesdk" |
diff --git a/meta/recipes-devtools/gcc/libgcc-common.inc b/meta/recipes-devtools/gcc/libgcc-common.inc index d959566c3f..d48dc8b823 100644 --- a/meta/recipes-devtools/gcc/libgcc-common.inc +++ b/meta/recipes-devtools/gcc/libgcc-common.inc | |||
@@ -44,16 +44,16 @@ do_install () { | |||
44 | rm -rf ${D}${libdir}/${TARGET_SYS}/${BINV}/include | 44 | rm -rf ${D}${libdir}/${TARGET_SYS}/${BINV}/include |
45 | } | 45 | } |
46 | 46 | ||
47 | do_install_append_libc-baremetal () { | 47 | do_install:append:libc-baremetal () { |
48 | rmdir ${D}${base_libdir} | 48 | rmdir ${D}${base_libdir} |
49 | } | 49 | } |
50 | do_install_append_libc-newlib () { | 50 | do_install:append:libc-newlib () { |
51 | rmdir ${D}${base_libdir} | 51 | rmdir ${D}${base_libdir} |
52 | } | 52 | } |
53 | 53 | ||
54 | # No rpm package is actually created but -dev depends on it, avoid dnf error | 54 | # No rpm package is actually created but -dev depends on it, avoid dnf error |
55 | RDEPENDS_${PN}-dev_libc-baremetal = "" | 55 | RDEPENDS:${PN}-dev:libc-baremetal = "" |
56 | RDEPENDS_${PN}-dev_libc-newlib = "" | 56 | RDEPENDS:${PN}-dev:libc-newlib = "" |
57 | 57 | ||
58 | BBCLASSEXTEND = "nativesdk" | 58 | BBCLASSEXTEND = "nativesdk" |
59 | 59 | ||
@@ -98,9 +98,9 @@ fakeroot python do_multilib_install() { | |||
98 | 98 | ||
99 | 99 | ||
100 | for ml in multilibs.split(): | 100 | for ml in multilibs.split(): |
101 | tune = d.getVar('DEFAULTTUNE_virtclass-multilib-' + ml) | 101 | tune = d.getVar('DEFAULTTUNE:virtclass-multilib-' + ml) |
102 | if not tune: | 102 | if not tune: |
103 | bb.warn('DEFAULTTUNE_virtclass-multilib-%s is not defined. Skipping...' % ml) | 103 | bb.warn('DEFAULTTUNE:virtclass-multilib-%s is not defined. Skipping...' % ml) |
104 | continue | 104 | continue |
105 | 105 | ||
106 | tune_parameters = get_tune_parameters(tune, d) | 106 | tune_parameters = get_tune_parameters(tune, d) |
diff --git a/meta/recipes-devtools/gcc/libgcc-initial.inc b/meta/recipes-devtools/gcc/libgcc-initial.inc index 06bf224f73..8251e3c286 100644 --- a/meta/recipes-devtools/gcc/libgcc-initial.inc +++ b/meta/recipes-devtools/gcc/libgcc-initial.inc | |||
@@ -42,17 +42,17 @@ inherit nopackages | |||
42 | # We really only want this built by things that need it, not any recrdeptask | 42 | # We really only want this built by things that need it, not any recrdeptask |
43 | deltask do_build | 43 | deltask do_build |
44 | 44 | ||
45 | do_configure_prepend () { | 45 | do_configure:prepend () { |
46 | install -d ${STAGING_INCDIR} | 46 | install -d ${STAGING_INCDIR} |
47 | touch ${STAGING_INCDIR}/limits.h | 47 | touch ${STAGING_INCDIR}/limits.h |
48 | sed -i -e 's#INHIBIT_LIBC_CFLAGS =.*#INHIBIT_LIBC_CFLAGS = -Dinhibit_libc#' ${B}/gcc/libgcc.mvars | 48 | sed -i -e 's#INHIBIT_LIBC_CFLAGS =.*#INHIBIT_LIBC_CFLAGS = -Dinhibit_libc#' ${B}/gcc/libgcc.mvars |
49 | sed -i -e 's#inhibit_libc = false#inhibit_libc = true#' ${B}/gcc/Makefile | 49 | sed -i -e 's#inhibit_libc = false#inhibit_libc = true#' ${B}/gcc/Makefile |
50 | } | 50 | } |
51 | 51 | ||
52 | do_configure_append () { | 52 | do_configure:append () { |
53 | sed -i -e 's#thread_header = .*#thread_header = gthr-single.h#' ${B}/${BPN}/Makefile | 53 | sed -i -e 's#thread_header = .*#thread_header = gthr-single.h#' ${B}/${BPN}/Makefile |
54 | } | 54 | } |
55 | 55 | ||
56 | do_install_append () { | 56 | do_install:append () { |
57 | ln -s libgcc.a ${D}${libdir}/${TARGET_SYS}/${BINV}/libgcc_eh.a | 57 | ln -s libgcc.a ${D}${libdir}/${TARGET_SYS}/${BINV}/libgcc_eh.a |
58 | } | 58 | } |
diff --git a/meta/recipes-devtools/gcc/libgcc-initial_11.1.bb b/meta/recipes-devtools/gcc/libgcc-initial_11.1.bb index 0c698c26ec..a259082b47 100644 --- a/meta/recipes-devtools/gcc/libgcc-initial_11.1.bb +++ b/meta/recipes-devtools/gcc/libgcc-initial_11.1.bb | |||
@@ -2,4 +2,4 @@ require recipes-devtools/gcc/gcc-${PV}.inc | |||
2 | require libgcc-initial.inc | 2 | require libgcc-initial.inc |
3 | 3 | ||
4 | # Building with thumb enabled on armv6t fails | 4 | # Building with thumb enabled on armv6t fails |
5 | ARM_INSTRUCTION_SET_armv6 = "arm" | 5 | ARM_INSTRUCTION_SET:armv6 = "arm" |
diff --git a/meta/recipes-devtools/gcc/libgcc.inc b/meta/recipes-devtools/gcc/libgcc.inc index 6d48ec9809..84a2d930df 100644 --- a/meta/recipes-devtools/gcc/libgcc.inc +++ b/meta/recipes-devtools/gcc/libgcc.inc | |||
@@ -2,7 +2,7 @@ require libgcc-common.inc | |||
2 | 2 | ||
3 | DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++ virtual/${MLPREFIX}libc" | 3 | DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++ virtual/${MLPREFIX}libc" |
4 | 4 | ||
5 | do_install_append_class-target () { | 5 | do_install:append:class-target () { |
6 | if [ "${TCLIBC}" != "glibc" ]; then | 6 | if [ "${TCLIBC}" != "glibc" ]; then |
7 | case "${TARGET_OS}" in | 7 | case "${TARGET_OS}" in |
8 | "linux-musl" | "linux-*spe") extra_target_os="linux";; | 8 | "linux-musl" | "linux-*spe") extra_target_os="linux";; |
@@ -32,12 +32,12 @@ PACKAGES = "\ | |||
32 | 32 | ||
33 | # All libgcc source is marked with the exception. | 33 | # All libgcc source is marked with the exception. |
34 | # | 34 | # |
35 | LICENSE_${PN} = "GPL-3.0-with-GCC-exception" | 35 | LICENSE:${PN} = "GPL-3.0-with-GCC-exception" |
36 | LICENSE_${PN}-dev = "GPL-3.0-with-GCC-exception" | 36 | LICENSE:${PN}-dev = "GPL-3.0-with-GCC-exception" |
37 | LICENSE_${PN}-dbg = "GPL-3.0-with-GCC-exception" | 37 | LICENSE:${PN}-dbg = "GPL-3.0-with-GCC-exception" |
38 | 38 | ||
39 | 39 | ||
40 | FILES_${PN}-dev = "\ | 40 | FILES:${PN}-dev = "\ |
41 | ${base_libdir}/libgcc*.so \ | 41 | ${base_libdir}/libgcc*.so \ |
42 | ${@oe.utils.conditional('BASETARGET_SYS', '${TARGET_SYS}', '', '${libdir}/${BASETARGET_SYS}', d)} \ | 42 | ${@oe.utils.conditional('BASETARGET_SYS', '${TARGET_SYS}', '', '${libdir}/${BASETARGET_SYS}', d)} \ |
43 | ${libdir}/${TARGET_SYS}/${BINV}* \ | 43 | ${libdir}/${TARGET_SYS}/${BINV}* \ |
@@ -49,5 +49,5 @@ do_package_write_ipk[depends] += "virtual/${MLPREFIX}libc:do_packagedata" | |||
49 | do_package_write_deb[depends] += "virtual/${MLPREFIX}libc:do_packagedata" | 49 | do_package_write_deb[depends] += "virtual/${MLPREFIX}libc:do_packagedata" |
50 | do_package_write_rpm[depends] += "virtual/${MLPREFIX}libc:do_packagedata" | 50 | do_package_write_rpm[depends] += "virtual/${MLPREFIX}libc:do_packagedata" |
51 | 51 | ||
52 | INSANE_SKIP_${PN}-dev = "staticdev" | 52 | INSANE_SKIP:${PN}-dev = "staticdev" |
53 | 53 | ||
diff --git a/meta/recipes-devtools/gcc/libgcc_11.1.bb b/meta/recipes-devtools/gcc/libgcc_11.1.bb index ea210a1130..f88963b0a4 100644 --- a/meta/recipes-devtools/gcc/libgcc_11.1.bb +++ b/meta/recipes-devtools/gcc/libgcc_11.1.bb | |||
@@ -2,4 +2,4 @@ require recipes-devtools/gcc/gcc-${PV}.inc | |||
2 | require libgcc.inc | 2 | require libgcc.inc |
3 | 3 | ||
4 | # Building with thumb enabled on armv6t fails | 4 | # Building with thumb enabled on armv6t fails |
5 | ARM_INSTRUCTION_SET_armv6 = "arm" | 5 | ARM_INSTRUCTION_SET:armv6 = "arm" |
diff --git a/meta/recipes-devtools/gcc/libgfortran.inc b/meta/recipes-devtools/gcc/libgfortran.inc index 7543585e6e..344ec5e21e 100644 --- a/meta/recipes-devtools/gcc/libgfortran.inc +++ b/meta/recipes-devtools/gcc/libgfortran.inc | |||
@@ -54,12 +54,12 @@ PACKAGES = "\ | |||
54 | libgfortran-staticdev \ | 54 | libgfortran-staticdev \ |
55 | " | 55 | " |
56 | 56 | ||
57 | LICENSE_${PN} = "GPL-3.0-with-GCC-exception" | 57 | LICENSE:${PN} = "GPL-3.0-with-GCC-exception" |
58 | LICENSE_${PN}-dev = "GPL-3.0-with-GCC-exception" | 58 | LICENSE:${PN}-dev = "GPL-3.0-with-GCC-exception" |
59 | LICENSE_${PN}-dbg = "GPL-3.0-with-GCC-exception" | 59 | LICENSE:${PN}-dbg = "GPL-3.0-with-GCC-exception" |
60 | 60 | ||
61 | FILES_${PN} = "${libdir}/libgfortran.so.*" | 61 | FILES:${PN} = "${libdir}/libgfortran.so.*" |
62 | FILES_${PN}-dev = "\ | 62 | FILES:${PN}-dev = "\ |
63 | ${libdir}/libgfortran*.so \ | 63 | ${libdir}/libgfortran*.so \ |
64 | ${libdir}/libgfortran.spec \ | 64 | ${libdir}/libgfortran.spec \ |
65 | ${libdir}/libgfortran.la \ | 65 | ${libdir}/libgfortran.la \ |
@@ -68,9 +68,9 @@ FILES_${PN}-dev = "\ | |||
68 | ${libdir}/gcc/${TARGET_SYS}/${BINV}/finclude/ \ | 68 | ${libdir}/gcc/${TARGET_SYS}/${BINV}/finclude/ \ |
69 | ${libdir}/gcc/${TARGET_SYS}/${BINV}/include/ \ | 69 | ${libdir}/gcc/${TARGET_SYS}/${BINV}/include/ \ |
70 | " | 70 | " |
71 | FILES_${PN}-staticdev = "${libdir}/libgfortran.a" | 71 | FILES:${PN}-staticdev = "${libdir}/libgfortran.a" |
72 | 72 | ||
73 | INSANE_SKIP_${MLPREFIX}libgfortran-dev = "staticdev" | 73 | INSANE_SKIP:${MLPREFIX}libgfortran-dev = "staticdev" |
74 | 74 | ||
75 | do_package_write_ipk[depends] += "virtual/${MLPREFIX}libc:do_packagedata" | 75 | do_package_write_ipk[depends] += "virtual/${MLPREFIX}libc:do_packagedata" |
76 | do_package_write_deb[depends] += "virtual/${MLPREFIX}libc:do_packagedata" | 76 | do_package_write_deb[depends] += "virtual/${MLPREFIX}libc:do_packagedata" |