diff mbox series

[6/6] distro/defaultsetup: Enable space optimization tweaks

Message ID 20260221084230.3219379-6-richard.purdie@linuxfoundation.org
State New
Headers show
Series [1/6] conf: Switch to systemd by default and simplify init manager selection | expand

Commit Message

Richard Purdie Feb. 21, 2026, 8:42 a.m. UTC
This enables a collection of tweaks which reudce build output size where
the output has been found to be particularly problematic.

This reduces sstate object size as well as on disk build footprint, it
also helps memory usage for linking some of the recipes. This in turn
improves built speed and the smaller sstate objects are faster to compress,
decompress and transfer over the network.

This change has been tested in poky for a long time.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/conf/distro/defaultsetup.conf | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/meta/conf/distro/defaultsetup.conf b/meta/conf/distro/defaultsetup.conf
index 871fe7b4e88..c6be00e80cf 100644
--- a/meta/conf/distro/defaultsetup.conf
+++ b/meta/conf/distro/defaultsetup.conf
@@ -7,6 +7,7 @@  require conf/distro/include/tclibc-${TCLIBC}.inc
 
 require conf/distro/include/no-static-libs.inc
 require conf/distro/include/security_flags.inc
+require conf/distro/include/yocto-space-optimize.inc
 
 require conf/distro/include/uninative-flags.inc
 require conf/distro/include/yocto-uninative.inc