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>
This commit is contained in:
Alejandro Hernandez Samaniego
2020-10-29 11:39:30 -06:00
committed by Richard Purdie
parent 39a0775c26
commit 507717949f

View File

@@ -32,6 +32,9 @@ require conf/distro/poky.conf
DISTRO = "poky-tiny"
DISTROOVERRIDES = "poky:poky-tiny"
TCLIBC = "musl"
FULL_OPTIMIZATION="-Os -pipe ${DEBUG_FLAGS}"
# FIXME: consider adding a new "tiny" feature
#DISTRO_FEATURES_append = " tiny"