[yocto] [PATCH 1/3] poky-tiny: Define the "tiny" DISTRO_FEATURE

Darren Hart dvhart at linux.intel.com
Wed Jun 13 22:19:31 PDT 2012


Enable recipes such as busybox to modify their configuration based on
a DISTRO_FEATURE for tiny distributions.

Signed-off-by: Darren Hart <dvhart at linux.intel.com>
---
 meta-yocto/conf/distro/poky-tiny.conf |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/meta-yocto/conf/distro/poky-tiny.conf b/meta-yocto/conf/distro/poky-tiny.conf
index a34c7dc..d6295f7 100644
--- a/meta-yocto/conf/distro/poky-tiny.conf
+++ b/meta-yocto/conf/distro/poky-tiny.conf
@@ -31,9 +31,6 @@
 require conf/distro/poky.conf
 DISTRO = "poky-tiny"
 
-# FIXME: consider adding a new "tiny" feature
-#DISTRO_FEATURES_append = " tiny"
-
 # Distro config is evaluated after the machine config, so we have to explicitly
 # set the kernel provider to override a machine config.
 PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-tiny"
@@ -84,7 +81,8 @@ DISTRO_FEATURES_USB = "usbhost"
 #DISTRO_FEATURES_USBGADGET = "usbgadget"
 #DISTRO_FEATURES_WIFI = "wifi"
 
-DISTRO_FEATURES = "${DISTRO_FEATURES_TINY} \
+DISTRO_FEATURES = "tiny \
+                   ${DISTRO_FEATURES_TINY} \
                    ${DISTRO_FEATURES_NET} \
                    ${DISTRO_FEATURES_USB} \
                    ${DISTRO_FEATURES_USBGADGET} \
-- 
1.7.5.4




More information about the yocto mailing list