summaryrefslogtreecommitdiffstats
path: root/meta-poky/conf
diff options
context:
space:
mode:
authorAlejandro Hernandez Samaniego <alejandro@enedino.org>2020-10-29 11:39:30 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-10-30 13:26:16 +0000
commit507717949f8a30ef19260cd6ca5753801413b258 (patch)
tree8a6a458b625c006f3eceefe934cc21d7f1d1b492 /meta-poky/conf
parent39a0775c2635b0217de95bfd5cdb8b1ccc78b0d7 (diff)
downloadpoky-507717949f8a30ef19260cd6ca5753801413b258.tar.gz
poky-tiny: Enable size optimization by default
Compiler size optimization reduces the size of the root filesystem by 15%, since poky-tiny is meant to be used on size constrained devices, enable it by default (From meta-yocto rev: 5e3a784ec7f1456cd3a43ff235719dbfd42a17a6) Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-poky/conf')
-rw-r--r--meta-poky/conf/distro/poky-tiny.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-poky/conf/distro/poky-tiny.conf b/meta-poky/conf/distro/poky-tiny.conf
index 57826037f0..9a043b1ef5 100644
--- a/meta-poky/conf/distro/poky-tiny.conf
+++ b/meta-poky/conf/distro/poky-tiny.conf
@@ -32,6 +32,9 @@ require conf/distro/poky.conf
32DISTRO = "poky-tiny" 32DISTRO = "poky-tiny"
33DISTROOVERRIDES = "poky:poky-tiny" 33DISTROOVERRIDES = "poky:poky-tiny"
34TCLIBC = "musl" 34TCLIBC = "musl"
35
36FULL_OPTIMIZATION="-Os -pipe ${DEBUG_FLAGS}"
37
35# FIXME: consider adding a new "tiny" feature 38# FIXME: consider adding a new "tiny" feature
36#DISTRO_FEATURES_append = " tiny" 39#DISTRO_FEATURES_append = " tiny"
37 40