From a1572403ab0d4b0085664b4b0f5fa231e9e0e9e4 Mon Sep 17 00:00:00 2001 From: Viswanath Kraleti Date: Tue, 20 Jan 2026 16:05:32 +0530 Subject: [PATCH 1/3] qcom-base: inherit distrooverrides bbclass Add `distrooverrides` to the INHERIT list to convert selected DISTRO_FEATURES into overrides with a matching name prefixed by `df-`. This simplifies writing .bb and .bbappend files that need to adjust task signatures or behavior when a given feature is enabled. Signed-off-by: Viswanath Kraleti --- conf/distro/include/qcom-base.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/distro/include/qcom-base.inc b/conf/distro/include/qcom-base.inc index 03419c28..03294e2a 100644 --- a/conf/distro/include/qcom-base.inc +++ b/conf/distro/include/qcom-base.inc @@ -43,6 +43,7 @@ IMAGE_FSTYPES:remove = "tar.gz" INITRAMFS_IMAGE = "initramfs-rootfs-image" INHERIT += "buildhistory" +INHERIT += "distrooverrides" INHERIT += "image-buildinfo" INHERIT += "recipe_sanity" From a29ccff38423e6b0e24e1781a4e2d98be7a217a1 Mon Sep 17 00:00:00 2001 From: Viswanath Kraleti Date: Tue, 20 Jan 2026 10:59:09 +0530 Subject: [PATCH 2/3] distro: add extended debug enabled distribution variant Add the qcom-distro-extended-debug distro variant, which enables builds with additional debugging features enabled through the `extended-debug` DISTRO_FEATURE. This variant is useful for enhanced debug instrumentation and tooling. Signed-off-by: Viswanath Kraleti --- conf/distro/qcom-distro-extended-debug.conf | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 conf/distro/qcom-distro-extended-debug.conf diff --git a/conf/distro/qcom-distro-extended-debug.conf b/conf/distro/qcom-distro-extended-debug.conf new file mode 100644 index 00000000..fb1034e5 --- /dev/null +++ b/conf/distro/qcom-distro-extended-debug.conf @@ -0,0 +1,7 @@ +require conf/distro/qcom-distro.conf + +DISTRO_FEATURES:append = " extended-debug" + +DISTRO_FEATURES_OVERRIDES += "extended-debug" + +DISTRO_NAME:append = " (extended-debug-options-enabled)" From e2d2bbede5b7f189f3276c3c11279c2a14a9fec8 Mon Sep 17 00:00:00 2001 From: Viswanath Kraleti Date: Tue, 20 Jan 2026 11:27:41 +0530 Subject: [PATCH 3/3] distro: add performance optimized distribution variant Add the qcom-distro-optimized-perf distro variant, which enables builds with performance optimization features through `optimized-perf` DISTRO_FEATURE. This variant is useful for boot-time improvements and other performance-critical optimizations. Signed-off-by: Viswanath Kraleti --- conf/distro/qcom-distro-optimized-perf.conf | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 conf/distro/qcom-distro-optimized-perf.conf diff --git a/conf/distro/qcom-distro-optimized-perf.conf b/conf/distro/qcom-distro-optimized-perf.conf new file mode 100644 index 00000000..9886b312 --- /dev/null +++ b/conf/distro/qcom-distro-optimized-perf.conf @@ -0,0 +1,7 @@ +require conf/distro/qcom-distro.conf + +DISTRO_FEATURES:append = " optimized-perf" + +DISTRO_FEATURES_OVERRIDES += "optimized-perf" + +DISTRO_NAME:append = " (performance-optimizations-enabled)"