]> code.ossystems Code Review - openembedded-core.git/commitdiff
connman: Disable tist plugin on powerpc
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 7 May 2012 09:50:03 +0000 (09:50 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 7 May 2012 09:53:14 +0000 (10:53 +0100)
This plugin doesn't build on powerpc due to powerpc's terminal ioctl defintions
being incompatible with assumptions being made by this module. Until someone has
need and can test this on powerpc, disabling is the safest option.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/connman/connman.inc

index 8b27cfb0d430d14964aa982f6d81eba968e63929..f2da8d9d74593f53d750c1cc6421c313dcf4a087 100644 (file)
@@ -20,6 +20,9 @@ DEPENDS  = "dbus glib-2.0 ppp iptables gnutls \
             ofono \
             "
 
+TIST = "--enable-tist"
+TIST_powerpc = ""
+
 EXTRA_OECONF += "\
     ac_cv_path_WPASUPPLICANT=${sbindir}/wpa_supplicant \
     ac_cv_path_PPPD=${sbindir}/pppd \
@@ -28,8 +31,8 @@ EXTRA_OECONF += "\
     --enable-threads \
     --enable-loopback \
     --enable-ethernet \
-    ${@base_contains('DISTRO_FEATURES', 'wifi','--enable-wifi --enable-tist', '--disable-wifi', d)} \
-    ${@base_contains('DISTRO_FEATURES', 'bluetooth','--enable-bluetooth --enable-tist', '--disable-bluetooth', d)} \
+    ${@base_contains('DISTRO_FEATURES', 'wifi','--enable-wifi ${TIST}', '--disable-wifi', d)} \
+    ${@base_contains('DISTRO_FEATURES', 'bluetooth','--enable-bluetooth ${TIST}', '--disable-bluetooth', d)} \
     --enable-dnsproxy \
     --enable-ofono \
     --enable-tools \