summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-10-13 13:02:22 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-10-13 13:02:22 +0000
commit5c7adfa4aad0755582561c3469d6848f115d8168 (patch)
tree35cf91694cac23ca214d1aa8bde0e957732f87b6 /meta
parent2e900b0d6e0692fb4d4160515beee58e69210303 (diff)
downloadopenembedded-core-5c7adfa4aad0755582561c3469d6848f115d8168.tar.gz
openembedded-core-5c7adfa4aad0755582561c3469d6848f115d8168.tar.bz2
openembedded-core-5c7adfa4aad0755582561c3469d6848f115d8168.tar.xz
openembedded-core-5c7adfa4aad0755582561c3469d6848f115d8168.zip
task-base: build Bluetooth/Wifi support only for distros which feature them
Patch by Carl Simonson <simonsonc@gmail.com> git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5482 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/tasks/task-base.bb7
1 files changed, 3 insertions, 4 deletions
diff --git a/meta/packages/tasks/task-base.bb b/meta/packages/tasks/task-base.bb
index fcb0b3782..f40afc61a 100644
--- a/meta/packages/tasks/task-base.bb
+++ b/meta/packages/tasks/task-base.bb
@@ -1,5 +1,5 @@
DESCRIPTION = "Merge machine and distro options to create a basic machine task/package"
-PR = "r68"
+PR = "r69"
inherit task
@@ -30,9 +30,8 @@ PACKAGES = ' \
${@base_contains("MACHINE_FEATURES", "redboot", "task-base-redboot", "",d)} \
${@base_contains("MACHINE_FEATURES", "apex", "task-base-apex", "",d)} \
\
- task-base-bluetooth \
- task-base-wifi \
- \
+ ${@base_contains("DISTRO_FEATURES", "bluetooth", "task-base-bluetooth", "", d)} \
+ ${@base_contains("DISTRO_FEATURES", "wifi", "task-base-wifi", "", d)} \
${@base_contains("DISTRO_FEATURES", "cramfs", "task-base-cramfs", "", d)} \
${@base_contains("DISTRO_FEATURES", "ipsec", "task-base-ipsec", "", d)} \
${@base_contains("DISTRO_FEATURES", "ipv6", "task-base-ipv6", "", d)} \