summaryrefslogtreecommitdiff
path: root/conf/bitbake.conf
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2006-11-26 13:47:35 +0000
committerRod Whitby <rod@whitby.id.au>2006-11-26 13:47:35 +0000
commitac617615d1c4aeb68c2f0fcbfa20ab670943f8b4 (patch)
treecb0f888f39982a8e258fb0a3f383d4a5dbe48f33 /conf/bitbake.conf
parent27cd162f98bc561efdedb6285c7dbc7440219b76 (diff)
parent37283947cf8d26758806925b29c2053b250efba5 (diff)
merge of 101cc837c8a2d1c2d4abc0f9ed9415554cbb609c
and 95d8882549c61d28fd1ccd1223c761df50dfcebb
Diffstat (limited to 'conf/bitbake.conf')
-rw-r--r--conf/bitbake.conf25
1 files changed, 25 insertions, 0 deletions
diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index 8c84ad282c..f49f26b7da 100644
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -425,3 +425,28 @@ IMAGE_ROOTFS_SIZE_ext2.gz ?= "65536"
# Magic Cookie for SANITY CHECK
##################################################################
OES_BITBAKE_CONF = "1"
+
+##################################################################
+# Task-base stuff
+##################################################################
+
+MACHINE_FEATURES ?= "kernel26"
+DISTRO_FEATURES ?= ""
+
+DISTRO_EXTRA_RDEPENDS ?= ""
+DISTRO_EXTRA_RRECOMMENDS ?= ""
+MACHINE_EXTRA_RDEPENDS ?= ""
+MACHINE_EXTRA_RRECOMMENDS ?= ""
+MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= ""
+MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= ""
+
+COMBINED_FEATURES = "\
+ ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "alsa", d)} \
+ ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "bluetooth", d)} \
+ ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "ext2", d)} \
+ ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "irda", d)} \
+ ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "pcmcia", d)} \
+ ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "pci", d)} \
+ ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "usbgadget", d)} \
+ ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "usbhost", d)}"
+