diff mbox series

[4/4] poky-tiny: Simplify distro features

Message ID 20260403-default-features-2-v1-4-6e12ee3fbe44@pbarker.dev (mailing list archive)
State New
Headers show
Series Adapt poky & poky-tiny for default distro features changes | expand

Commit Message

Paul Barker April 3, 2026, 9:12 a.m. UTC
We can just set DISTRO_FEATURES directly for poky-tiny, it's easy for
users to append to this as needed.

This change also removes "\${DISTRO_FEATURES_USBGADGET}" and
"\${DISTRO_FEATURES_WIFI}" from the distro features, which were present
accidentally as those variables were unset.

Signed-off-by: Paul Barker <paul@pbarker.dev>
---
 meta-poky/conf/distro/poky-tiny.conf | 17 +++--------------
 1 file changed, 3 insertions(+), 14 deletions(-)
diff mbox series

Patch

diff --git a/meta-poky/conf/distro/poky-tiny.conf b/meta-poky/conf/distro/poky-tiny.conf
index be28940dd90e..0d8b570ede46 100644
--- a/meta-poky/conf/distro/poky-tiny.conf
+++ b/meta-poky/conf/distro/poky-tiny.conf
@@ -60,21 +60,10 @@  USE_NLS = "no"
 # As we don't have native language support, don't install locales into images
 IMAGE_LINGUAS = ""
 
-# Comment out any of the lines below to disable them in the build
-# DISTRO_FEATURES options:
-# alsa bluetooth ext2 pcmcia usbgadget usbhost wifi nfs zeroconf pci
-DISTRO_FEATURES_TINY = "pci ldconfig ptest multiarch"
-DISTRO_FEATURES_NET = "ipv4 ipv6"
-DISTRO_FEATURES_USB = "usbhost"
-#DISTRO_FEATURES_USBGADGET = "usbgadget"
-#DISTRO_FEATURES_WIFI = "wifi"
-
 DISTRO_FEATURES_OPTED_OUT = "*"
-DISTRO_FEATURES = "${DISTRO_FEATURES_TINY} \
-                   ${DISTRO_FEATURES_NET} \
-                   ${DISTRO_FEATURES_USB} \
-                   ${DISTRO_FEATURES_USBGADGET} \
-                   ${DISTRO_FEATURES_WIFI} \
+DISTRO_FEATURES = "pci ldconfig ptest multiarch \
+                   ipv4 ipv6 \
+                   usbhost \
                   "
 
 DISTRO_FEATURES:class-native = "${POKY_DEFAULT_DISTRO_FEATURES}"