summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorAnders Darander <anders@chargestorm.se>2011-08-15 12:58:51 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-17 15:13:39 +0100
commit869a1efee685d59c762b965b98ac9c247be68c29 (patch)
treec95480ebf5b728b1b9b2f047bd5bda2635285246 /meta
parent2a1fa5b3f1424e9264d29027c589b55cf2feb109 (diff)
downloadopenembedded-core-869a1efee685d59c762b965b98ac9c247be68c29.tar.gz
openembedded-core-869a1efee685d59c762b965b98ac9c247be68c29.tar.bz2
openembedded-core-869a1efee685d59c762b965b98ac9c247be68c29.tar.xz
openembedded-core-869a1efee685d59c762b965b98ac9c247be68c29.zip
connman: use DISTRO_FEATURES to enable wifi and bluetooth
As wifi and bluetooth is set in DISTRO_FEATURES, connman should respect this during configuring. Signed-off-by: Anders Darander <anders@chargestorm.se>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-connectivity/connman/connman_0.75.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-connectivity/connman/connman_0.75.bb b/meta/recipes-connectivity/connman/connman_0.75.bb
index aeff439e8..5a7b28429 100644
--- a/meta/recipes-connectivity/connman/connman_0.75.bb
+++ b/meta/recipes-connectivity/connman/connman_0.75.bb
@@ -8,8 +8,8 @@ EXTRA_OECONF += "\
--enable-threads \
--enable-loopback \
--enable-ethernet \
- --enable-wifi \
- --enable-bluetooth \
+ ${@base_contains('DISTRO_FEATURES', 'wifi','--enable-wifi', '--disable-wifi', d)} \
+ ${@base_contains('DISTRO_FEATURES', 'bluetooth','--enable-bluetooth', '--disable-bluetooth', d)} \
--enable-dnsproxy \
--disable-dhclient \
--enable-test \