fwupd/plugins/modem-manager/meson.build
Aleksander Morgado 3eb27564ef modem-manager: add counterpart GUID for the DW5821e
The DW5821e in modem mode uses the 0x81D7 PID, but when it boots in
fastboot mode it uses the 0x81D6 PID. The upgrade procedure was able
to automatically match these two devices because they both shared the
very generic per-VID (0x413C) GUID, but this is no longer operational
since commit 8ef139faba, as the very generic GUIDs have been removed
for matching purposes.

So, define a quirk for the DW5821e, in order to add a counterpart
GUID to make device matching work properly again.

Fixes https://github.com/hughsie/fwupd/issues/1271
2019-08-05 16:15:09 +01:00

34 lines
650 B
Meson

cargs = ['-DG_LOG_DOMAIN="FuPluginMm"']
install_data(['modem-manager.quirk'],
install_dir: join_paths(datadir, 'fwupd', 'quirks.d')
)
shared_module('fu_plugin_modem_manager',
fu_hash,
sources : [
'fu-plugin-modem-manager.c',
'fu-mm-device.c',
'fu-qmi-pdc-updater.c',
'fu-mm-utils.c'
],
include_directories : [
include_directories('../..'),
include_directories('../../src'),
include_directories('../../libfwupd'),
],
install : true,
install_dir: plugin_dir,
c_args : [
cargs,
],
link_with : [
libfwupdprivate,
],
dependencies : [
plugin_deps,
libmm_glib,
libqmi_glib,
],
)