Skip to contentSkip to conversation

distro/defaultsetup: Add buildstats by default

PATCH New Richard Purdie 1 participant 1 message Oct 15, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 distro/defaultsetup: Add buildstats by default

This has been the default in poky's local.conf.sample since forever. It was missing during the migrtion to bitbake-setup and that created a few failures. We've fixes most of the places but found a new one in the performance tests.

Having these available is useful for debugging and doesn't really add much overhead to the build.

We could push this over into the poky DISTRO however I've been wanting to try and reconcile things where possible so putting this into defaultsetup feels like the right choice to me. Distros can still override as they would the other classes in INHERIT_DISTRO.

---
 meta/conf/distro/defaultsetup.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/conf/distro/defaultsetup.conf +1 -1
index 80de23f517a..c087943698c 100644
@@ -10,7 +10,7 @@ require conf/distro/include/uninative-flags.inc
 
 USER_CLASSES ?= ""
 PACKAGE_CLASSES ?= "package_ipk"
-INHERIT_DISTRO ?= "debian devshell sstate license remove-libtool create-spdx"
+INHERIT_DISTRO ?= "debian devshell sstate license remove-libtool create-spdx buildstats"
 INHERIT += "${PACKAGE_CLASSES} ${USER_CLASSES} ${INHERIT_DISTRO}"
 
 INIT_MANAGER ??= "none"