mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-16 09:56:52 +00:00

This pivots the data storage so that the group is used as the preconditon and the key name is used as the parameter to change. This allows a more natural data flow, where a new device needs one new group and a few few keys, rather than multiple groups, each with one key. This also allows us to remove the key globbing when matching the version format which is often a source of confusion. Whilst changing all the quirk files, change the key prefixes to be more familiar to Windows users (e.g. Hwid -> Smbios, and FuUsbDevice -> DeviceInstanceId) who have to use the same IDs in Windows Update. This also allows us to pre-match the desired plugin, rather than calling the probe() function on each plugin.
28 lines
549 B
Meson
28 lines
549 B
Meson
cargs = ['-DG_LOG_DOMAIN="FuPluginCsr"']
|
|
|
|
install_data(['csr-aiaiai.quirk'],
|
|
install_dir: join_paths(datadir, 'fwupd', 'quirks.d')
|
|
)
|
|
|
|
shared_module('fu_plugin_csr',
|
|
sources : [
|
|
'fu-csr-device.c',
|
|
'fu-plugin-csr.c',
|
|
],
|
|
include_directories : [
|
|
include_directories('../..'),
|
|
include_directories('../dfu'),
|
|
include_directories('../../src'),
|
|
include_directories('../../libfwupd'),
|
|
],
|
|
install : true,
|
|
install_dir: plugin_dir,
|
|
c_args : cargs,
|
|
dependencies : [
|
|
plugin_deps,
|
|
],
|
|
link_with : [
|
|
dfu,
|
|
],
|
|
)
|