diff options
| -rw-r--r-- | meta-oe/recipes-connectivity/modemmanager/modemmanager_1.4.12.bb | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.4.12.bb b/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.4.12.bb index 3b64d7a2b9..24916211c2 100644 --- a/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.4.12.bb +++ b/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.4.12.bb | |||
| @@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = " \ | |||
| 9 | 9 | ||
| 10 | inherit gnomebase gettext systemd | 10 | inherit gnomebase gettext systemd |
| 11 | 11 | ||
| 12 | DEPENDS = "glib-2.0 libmbim libqmi polkit libgudev dbus-glib" | 12 | DEPENDS = "glib-2.0 libgudev dbus-glib" |
| 13 | 13 | ||
| 14 | SRC_URI = "http://www.freedesktop.org/software/ModemManager/ModemManager-${PV}.tar.xz" | 14 | SRC_URI = "http://www.freedesktop.org/software/ModemManager/ModemManager-${PV}.tar.xz" |
| 15 | SRC_URI[md5sum] = "66cc7266b15525cb366253e6639fc564" | 15 | SRC_URI[md5sum] = "66cc7266b15525cb366253e6639fc564" |
| @@ -17,6 +17,17 @@ SRC_URI[sha256sum] = "7ef5035375a953b285a742591df0a65fd442f4641ce4d8f4392a41d6d6 | |||
| 17 | 17 | ||
| 18 | S = "${WORKDIR}/ModemManager-${PV}" | 18 | S = "${WORKDIR}/ModemManager-${PV}" |
| 19 | 19 | ||
| 20 | PACKAGECONFIG ??= "mbim qmi polkit \ | ||
| 21 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \ | ||
| 22 | " | ||
| 23 | |||
| 24 | PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,," | ||
| 25 | PACKAGECONFIG[polkit] = "--with-polkit=yes,--with-polkit=no,polkit" | ||
| 26 | # Support WWAN modems and devices which speak the Mobile Interface Broadband Model (MBIM) protocol. | ||
| 27 | PACKAGECONFIG[mbim] = "--with-mbim,--enable-mbim=no,libmbim" | ||
| 28 | # Support WWAN modems and devices which speak the Qualcomm MSM Interface (QMI) protocol. | ||
| 29 | PACKAGECONFIG[qmi] = "--with-qmi,--without-qmi,libqmi" | ||
| 30 | |||
| 20 | FILES_${PN} += " \ | 31 | FILES_${PN} += " \ |
| 21 | ${datadir}/icons \ | 32 | ${datadir}/icons \ |
| 22 | ${datadir}/polkit-1 \ | 33 | ${datadir}/polkit-1 \ |
