From 507717949f8a30ef19260cd6ca5753801413b258 Mon Sep 17 00:00:00 2001 From: Alejandro Hernandez Samaniego Date: Thu, 29 Oct 2020 11:39:30 -0600 Subject: 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 Signed-off-by: Richard Purdie --- meta-poky/conf/distro/poky-tiny.conf | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta-poky') 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 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" -- cgit v1.2.3-54-g00ecf