[OE-core] [PATCH 4/5] ofono: conditionally enable bluetooth

Anders Darander anders at chargestorm.se
Wed Aug 17 06:31:23 UTC 2011


* Koen Kooi <koen at dominion.thruhere.net> [110816 16:34]:
> 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?

I'll rework this patch and send an updated pull-request shortly.

Cheers,
Anders

-- 
Anders Darander
ChargeStorm AB	




More information about the Openembedded-core mailing list