From 718e07647dc0529e28bbc031eadc612f05998774 Mon Sep 17 00:00:00 2001 From: Anders Darander Date: Wed, 17 Aug 2011 08:41:28 +0200 Subject: ofono: conditionally enable bluetooth Use DISTRO_FEATURE to conditionally depend on bluez4, as well as enabling bluetooth. (From OE-Core rev: 4024bf2874e9da4fd0dd9a2b90a48e8a259781cc) Signed-off-by: Anders Darander Signed-off-by: Richard Purdie --- meta/recipes-connectivity/ofono/ofono.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-connectivity/ofono/ofono.inc') diff --git a/meta/recipes-connectivity/ofono/ofono.inc b/meta/recipes-connectivity/ofono/ofono.inc index a14b35a847..0b1a6e1234 100644 --- a/meta/recipes-connectivity/ofono/ofono.inc +++ b/meta/recipes-connectivity/ofono/ofono.inc @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \ inherit autotools pkgconfig update-rc.d -DEPENDS = "dbus glib-2.0 udev bluez4" +DEPENDS = "dbus glib-2.0 udev ${@base_contains('DISTRO_FEATURES', 'bluetooth','bluez4', '', d)}" INITSCRIPT_NAME = "ofono" INITSCRIPT_PARAMS = "defaults 22" -- cgit v1.2.3-54-g00ecf