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 <[email protected]> > --- > 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? _______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
