diff options
| -rw-r--r-- | meta/recipes-connectivity/ofono/ofono.inc | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/meta/recipes-connectivity/ofono/ofono.inc b/meta/recipes-connectivity/ofono/ofono.inc index 9f65f4f144..bf44fcae08 100644 --- a/meta/recipes-connectivity/ofono/ofono.inc +++ b/meta/recipes-connectivity/ofono/ofono.inc | |||
| @@ -7,16 +7,20 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \ | |||
| 7 | 7 | ||
| 8 | inherit autotools pkgconfig update-rc.d systemd | 8 | inherit autotools pkgconfig update-rc.d systemd |
| 9 | 9 | ||
| 10 | DEPENDS = "dbus glib-2.0 udev mobile-broadband-provider-info ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth','bluez4', '', d)}" | 10 | DEPENDS = "dbus glib-2.0 udev mobile-broadband-provider-info" |
| 11 | 11 | ||
| 12 | INITSCRIPT_NAME = "ofono" | 12 | INITSCRIPT_NAME = "ofono" |
| 13 | INITSCRIPT_PARAMS = "defaults 22" | 13 | INITSCRIPT_PARAMS = "defaults 22" |
| 14 | 14 | ||
| 15 | EXTRA_OECONF += "\ | 15 | PACKAGECONFIG ??= "\ |
| 16 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--with-systemdunitdir=${systemd_unitdir}/system/', '--with-systemdunitdir=', d)} \ | 16 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \ |
| 17 | ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth','--enable-bluetooth', '--disable-bluetooth', d)} \ | 17 | ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth','bluetooth', '', d)} \ |
| 18 | --enable-test \ | 18 | " |
| 19 | " | 19 | PACKAGECONFIG[systemd] = "--with-systemdunitdir=${systemd_unitdir}/system/,--with-systemdunitdir=" |
| 20 | PACKAGECONFIG[bluetooth] = "--enable-bluetooth,--disable-bluetooth,bluez4" | ||
| 21 | |||
| 22 | EXTRA_OECONF += "--enable-test" | ||
| 23 | |||
| 20 | SYSTEMD_SERVICE_${PN} = "ofono.service" | 24 | SYSTEMD_SERVICE_${PN} = "ofono.service" |
| 21 | 25 | ||
| 22 | do_install_append() { | 26 | do_install_append() { |
