summaryrefslogtreecommitdiffstats
path: root/meta/conf/local.conf.sample.extended
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-11-08 16:02:07 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-11-11 10:04:34 +0000
commit228b5a91516cdf9d5a1df3c721ba8e5619b188ab (patch)
treec59d4c944cdc3640cd8243397e8d85199f140f4e /meta/conf/local.conf.sample.extended
parentbcb8b6719beaf6625e6b703e91958fe8afba5819 (diff)
downloadopenembedded-core-228b5a91516cdf9d5a1df3c721ba8e5619b188ab.tar.gz
lto: Add global LTO distro policy file
Distros which want to enable LTO can utilize this file, it only covers packages from OE-Core, other layers should include there own exclusion list for recipe which dont work with LTO Document the needed changes in local.conf.extended Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/local.conf.sample.extended')
-rw-r--r--meta/conf/local.conf.sample.extended6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/conf/local.conf.sample.extended b/meta/conf/local.conf.sample.extended
index 420b09b7d7..5ece522fa8 100644
--- a/meta/conf/local.conf.sample.extended
+++ b/meta/conf/local.conf.sample.extended
@@ -396,3 +396,9 @@
#VIRTUAL-RUNTIME_base-utils = "packagegroup-core-base-utils"
#VIRTUAL-RUNTIME_base-utils-hwclock = "util-linux-hwclock"
#VIRTUAL-RUNTIME_base-utils-syslog = "syslog"
+
+#
+# Enable LTO system-wide
+#
+#require conf/distro/include/lto.inc
+#DISTRO_FEATURES_append = " lto"