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/conf/distro/include/lto.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/conf/distro/include/lto.inc')
-rw-r--r-- | meta/conf/distro/include/lto.inc | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/meta/conf/distro/include/lto.inc b/meta/conf/distro/include/lto.inc index 20895ad40d..79818ac09f 100644 --- a/meta/conf/distro/include/lto.inc +++ b/meta/conf/distro/include/lto.inc | |||
@@ -1,32 +1,32 @@ | |||
1 | # To enable LTO, add following in local.conf | 1 | # To enable LTO, add following in local.conf |
2 | # require conf/distro/include/lto.inc | 2 | # require conf/distro/include/lto.inc |
3 | # DISTRO_FEATURES_append = " lto" | 3 | # DISTRO_FEATURES:append = " lto" |
4 | # | 4 | # |
5 | 5 | ||
6 | # Disable LTO for following packages | 6 | # Disable LTO for following packages |
7 | LTO_pn-glibc = "" | 7 | LTO:pn-glibc = "" |
8 | LTO_pn-gcc-runtime = "" | 8 | LTO:pn-gcc-runtime = "" |
9 | LTO_pn-libgcc-initial = "" | 9 | LTO:pn-libgcc-initial = "" |
10 | LTO_pn-libgcc = "" | 10 | LTO:pn-libgcc = "" |
11 | LTO_pn-libaio = "" | 11 | LTO:pn-libaio = "" |
12 | LTO_pn-libpam = "" | 12 | LTO:pn-libpam = "" |
13 | LTO_pn-elfutils = "" | 13 | LTO:pn-elfutils = "" |
14 | LTO_pn-perl = "" | 14 | LTO:pn-perl = "" |
15 | LTO_pn-busybox = "" | 15 | LTO:pn-busybox = "" |
16 | LTO_pn-libxcrypt = "" | 16 | LTO:pn-libxcrypt = "" |
17 | LTO_pn-curl = "" | 17 | LTO:pn-curl = "" |
18 | LTO_pn-libcap = "" | 18 | LTO:pn-libcap = "" |
19 | LTO_pn-libproxy = "" | 19 | LTO:pn-libproxy = "" |
20 | LTO_pn-libbsd = "" | 20 | LTO:pn-libbsd = "" |
21 | LTO_pn-perf = "" | 21 | LTO:pn-perf = "" |
22 | # webkit is not linking properly with LTO, disable until next time | 22 | # webkit is not linking properly with LTO, disable until next time |
23 | LTO_pn-webkitgtk = "" | 23 | LTO:pn-webkitgtk = "" |
24 | LTO_pn-xserver-xorg = "" | 24 | LTO:pn-xserver-xorg = "" |
25 | 25 | ||
26 | # Custom LTO flags | 26 | # Custom LTO flags |
27 | # disable partitioning/streaming algorithm since its uses ASM | 27 | # disable partitioning/streaming algorithm since its uses ASM |
28 | # constructs not compatible with lto | 28 | # constructs not compatible with lto |
29 | LTOEXTRA_pn-alsa-lib = "-flto-partition=none" | 29 | LTOEXTRA:pn-alsa-lib = "-flto-partition=none" |
30 | 30 | ||
31 | LTOEXTRA ?= "" | 31 | LTOEXTRA ?= "" |
32 | 32 | ||
@@ -43,7 +43,7 @@ LTOEXTRA ?= "" | |||
43 | # code from .a files to linker | 43 | # code from .a files to linker |
44 | LTO ?= "-flto -ffat-lto-objects -fuse-linker-plugin ${LTOEXTRA}" | 44 | LTO ?= "-flto -ffat-lto-objects -fuse-linker-plugin ${LTOEXTRA}" |
45 | 45 | ||
46 | SELECTED_OPTIMIZATION_append = "${@bb.utils.contains('DISTRO_FEATURES', 'lto', ' ${LTO}', '', d)}" | 46 | SELECTED_OPTIMIZATION:append = "${@bb.utils.contains('DISTRO_FEATURES', 'lto', ' ${LTO}', '', d)}" |
47 | TARGET_LDFLAGS_append_class-target = "${@bb.utils.contains('DISTRO_FEATURES', 'lto', ' ${LTO}', '', d)}" | 47 | TARGET_LDFLAGS:append:class-target = "${@bb.utils.contains('DISTRO_FEATURES', 'lto', ' ${LTO}', '', d)}" |
48 | 48 | ||
49 | SELECTED_OPTIMIZATION[vardeps] += "LTO LTOEXTRA" | 49 | SELECTED_OPTIMIZATION[vardeps] += "LTO LTOEXTRA" |