From: Jack Mitchell <jack.mitch...@dbbroadcast.co.uk>
Signed-off-by: Jack Mitchell <jack.mitch...@dbbroadcast.co.uk>
---
Runtime tested on beaglebone armv7a, with and without tist PACKAGECONFIG
meta/recipes-connectivity/connman/connman.inc | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/meta/recipes-connectivity/connman/connman.inc
b/meta/recipes-connectivity/connman/connman.inc
index 589ece8..eb9d145 100644
--- a/meta/recipes-connectivity/connman/connman.inc
+++ b/meta/recipes-connectivity/connman/connman.inc
@@ -20,10 +20,7 @@ DEPENDS = "dbus glib-2.0 ppp iptables gnutls \
${@base_contains('DISTRO_FEATURES', '3g','ofono', '', d)} \
"
-INC_PR = "r19"
-
-TIST = "--enable-tist"
-TIST_powerpc = ""
+INC_PR = "r20"
EXTRA_OECONF += "\
ac_cv_path_WPASUPPLICANT=${sbindir}/wpa_supplicant \
@@ -32,8 +29,8 @@ EXTRA_OECONF += "\
--enable-threads \
--enable-loopback \
--enable-ethernet \
- ${@base_contains('DISTRO_FEATURES', 'wifi','--enable-wifi ${TIST}',
'--disable-wifi', d)} \
- ${@base_contains('DISTRO_FEATURES', 'bluetooth','--enable-bluetooth
${TIST}', '--disable-bluetooth', d)} \
+ ${@base_contains('DISTRO_FEATURES', 'wifi', '--enable-wifi',
'--disable-wifi', d)} \
+ ${@base_contains('DISTRO_FEATURES', 'bluetooth', '--enable-bluetooth',
'--disable-bluetooth', d)} \
${@base_contains('DISTRO_FEATURES', '3g', '--enable-ofono',
'--disable-ofono', d)} \
--enable-tools \
--enable-test \
@@ -43,6 +40,10 @@ EXTRA_OECONF += "\
${@base_contains('DISTRO_FEATURES', 'systemd',
'--with-systemdunitdir=${systemd_unitdir}/system/', '--with-systemdunitdir=',
d)} \
"
+PACKAGECONFIG ??= ""
+
+PACKAGECONFIG[tist] = "--enable-tist,,"