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-configure-common.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-configure-common.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-configure-common.inc | 24 |
1 files changed, 12 insertions, 12 deletions
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 |