[oe-commits] Anders Darander : connman: use DISTRO_FEATURES to enable wifi and bluetooth

git version control git at git.openembedded.org
Wed Aug 17 14:19:44 UTC 2011


Module: openembedded-core.git
Branch: master
Commit: 869a1efee685d59c762b965b98ac9c247be68c29
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=869a1efee685d59c762b965b98ac9c247be68c29

Author: Anders Darander <anders at chargestorm.se>
Date:   Mon Aug 15 12:58:51 2011 +0200

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 at chargestorm.se>

---

 meta/recipes-connectivity/connman/connman_0.75.bb |    4 ++--
 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 aeff439..5a7b284 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 \





More information about the Openembedded-commits mailing list