[OE-core] [PATCH V2 1/1] connman: optionally build ofono plugin.

Koen Kooi koen at dominion.thruhere.net
Tue Apr 10 06:48:25 UTC 2012


This changes the default behaviour, so it should not go in for 1.2

Op 10 apr. 2012, om 05:16 heeft Lianhao Lu het volgende geschreven:

> Only build ofono plugin when 3g feature is enabled. Also add dependency
> to ofono when ofono plugin is being built.
> 
> This is part of the buf fixing [YOCTO #2216].
> 
> Signed-off-by: Lianhao Lu <lianhao.lu at intel.com>
> ---
> meta/recipes-connectivity/connman/connman.inc |    3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc
> index 1a6dd1b..c3827f1 100644
> --- a/meta/recipes-connectivity/connman/connman.inc
> +++ b/meta/recipes-connectivity/connman/connman.inc
> @@ -17,6 +17,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e \
> DEPENDS  = "dbus glib-2.0 ppp iptables gnutls \
>             ${@base_contains('DISTRO_FEATURES', 'bluetooth','bluez4', '', d)} \
>             ${@base_contains('DISTRO_FEATURES', 'wifi','wpa-supplicant', '', d)} \
> +            ${@base_contains('DISTRO_FEATURES', '3g','ofono', '', d)} \
>             "
> 
> EXTRA_OECONF += "\
> @@ -30,7 +31,7 @@ EXTRA_OECONF += "\
>     ${@base_contains('DISTRO_FEATURES', 'wifi','--enable-wifi', '--disable-wifi', d)} \
>     ${@base_contains('DISTRO_FEATURES', 'bluetooth','--enable-bluetooth', '--disable-bluetooth', d)} \
>     --enable-dnsproxy \
> -    --enable-ofono \
> +    ${@base_contains('DISTRO_FEATURES', '3g','--enable-ofono', '--disable-ofono', d)} \
>     --enable-tools \
>     --enable-test \
>     --disable-polkit \
> -- 
> 1.7.0.4
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core





More information about the Openembedded-core mailing list