mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 02:50:46 +00:00
modemmanager: Add PACKAGECONFIGs
Signed-off-by: Adrian Freihofer <adrian.freihofer@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = " \
|
||||
|
||||
inherit gnomebase gettext systemd
|
||||
|
||||
DEPENDS = "glib-2.0 libmbim libqmi polkit libgudev dbus-glib"
|
||||
DEPENDS = "glib-2.0 libgudev dbus-glib"
|
||||
|
||||
SRC_URI = "http://www.freedesktop.org/software/ModemManager/ModemManager-${PV}.tar.xz"
|
||||
SRC_URI[md5sum] = "66cc7266b15525cb366253e6639fc564"
|
||||
@@ -17,6 +17,17 @@ SRC_URI[sha256sum] = "7ef5035375a953b285a742591df0a65fd442f4641ce4d8f4392a41d6d6
|
||||
|
||||
S = "${WORKDIR}/ModemManager-${PV}"
|
||||
|
||||
PACKAGECONFIG ??= "mbim qmi polkit \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \
|
||||
"
|
||||
|
||||
PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,,"
|
||||
PACKAGECONFIG[polkit] = "--with-polkit=yes,--with-polkit=no,polkit"
|
||||
# Support WWAN modems and devices which speak the Mobile Interface Broadband Model (MBIM) protocol.
|
||||
PACKAGECONFIG[mbim] = "--with-mbim,--enable-mbim=no,libmbim"
|
||||
# Support WWAN modems and devices which speak the Qualcomm MSM Interface (QMI) protocol.
|
||||
PACKAGECONFIG[qmi] = "--with-qmi,--without-qmi,libqmi"
|
||||
|
||||
FILES_${PN} += " \
|
||||
${datadir}/icons \
|
||||
${datadir}/polkit-1 \
|
||||
|
||||
Reference in New Issue
Block a user