diff options
| author | Alejandro Hernandez Samaniego <alejandro@enedino.org> | 2020-10-29 11:39:30 -0600 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-10-30 13:26:16 +0000 |
| commit | 507717949f8a30ef19260cd6ca5753801413b258 (patch) | |
| tree | 8a6a458b625c006f3eceefe934cc21d7f1d1b492 | |
| parent | 39a0775c2635b0217de95bfd5cdb8b1ccc78b0d7 (diff) | |
| download | poky-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>
| -rw-r--r-- | meta-poky/conf/distro/poky-tiny.conf | 3 |
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 | |||
| 32 | DISTRO = "poky-tiny" | 32 | DISTRO = "poky-tiny" |
| 33 | DISTROOVERRIDES = "poky:poky-tiny" | 33 | DISTROOVERRIDES = "poky:poky-tiny" |
| 34 | TCLIBC = "musl" | 34 | TCLIBC = "musl" |
| 35 | |||
| 36 | FULL_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 | ||
