From 5c7adfa4aad0755582561c3469d6848f115d8168 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Mon, 13 Oct 2008 13:02:22 +0000 Subject: task-base: build Bluetooth/Wifi support only for distros which feature them Patch by Carl Simonson git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5482 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/packages/tasks/task-base.bb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'meta/packages/tasks') 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)} \ -- cgit v1.2.3