[OE-core] [PATCH 4/5] ofono: conditionally enable bluetooth
Koen Kooi
koen at dominion.thruhere.net
Tue Aug 16 14:33:31 UTC 2011
Op 16 aug. 2011, om 15:57 heeft Anders Darander het volgende geschreven:
> Use DISTRO_FEATURE to conditionally depend on bluez4, as well as enabling bluetooth.
>
> Signed-off-by: Anders Darander <anders at chargestorm.se>
> ---
> meta/recipes-connectivity/ofono/ofono.inc | 3 ++-
> meta/recipes-connectivity/ofono/ofono_0.50.bb | 1 +
> meta/recipes-connectivity/ofono/ofono_git.bb | 4 ++++
> 3 files changed, 7 insertions(+), 1 deletions(-)
>
> diff --git a/meta/recipes-connectivity/ofono/ofono.inc b/meta/recipes-connectivity/ofono/ofono.inc
> index a14b35a..ab233dc 100644
> --- a/meta/recipes-connectivity/ofono/ofono.inc
> +++ b/meta/recipes-connectivity/ofono/ofono.inc
> @@ -7,7 +7,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \
>
> inherit autotools pkgconfig update-rc.d
>
> -DEPENDS = "dbus glib-2.0 udev bluez4"
> +BLUEZDEPENDS = "bluez4"
> +DEPENDS = "dbus glib-2.0 udev ${@base_contains('DISTRO_FEATURES', 'bluetooth','${BLUEZDEPENDS}', '', d)}"
is that BLUEZDEPENDS helper var really needed?
More information about the Openembedded-core
mailing list