From: Anders Darander Date: Mon, 15 Aug 2011 10:58:51 +0000 (+0200) Subject: connman: use DISTRO_FEATURES to enable wifi and bluetooth X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~44470 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=869a1efee685d59c762b965b98ac9c247be68c29;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- diff --git a/meta/recipes-connectivity/connman/connman_0.75.bb b/meta/recipes-connectivity/connman/connman_0.75.bb index aeff439e888..5a7b28429aa 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 \