]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
defaultsetup: Enable uninative by default
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 21 Feb 2026 08:42:27 +0000 (08:42 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 23 Feb 2026 18:02:43 +0000 (18:02 +0000)
uninative allows reuse of native sstate built on one distro on another. This change
enables it by default, as has been done by default in poky for a long time.

The reason for the change is that this makes the sstate CDN much more useful
to speed up builds if good network access is available. It also standardises
the builds to our usual testing configuration, removing one key difference
which new users sometimes run into.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/distro/defaultsetup.conf

index 269c3ad3f7b5a2dd319ba9007bf16525217a41f3..f4a2d004a36ea688118930f9cbe5b4e52463be47 100644 (file)
@@ -6,10 +6,11 @@ require conf/distro/include/tcmode-${TCMODE}.inc
 require conf/distro/include/tclibc-${TCLIBC}.inc
 
 require conf/distro/include/uninative-flags.inc
+require conf/distro/include/yocto-uninative.inc
 
 USER_CLASSES ?= ""
 PACKAGE_CLASSES ?= "package_ipk"
-INHERIT_DISTRO ?= "debian devshell sstate license remove-libtool create-spdx buildstats"
+INHERIT_DISTRO ?= "debian devshell sstate license remove-libtool create-spdx buildstats uninative"
 INHERIT += "${PACKAGE_CLASSES} ${USER_CLASSES} ${INHERIT_DISTRO}"
 
 INIT_MANAGER ??= "systemd"