mirror of
https://git.proxmox.com/git/fwupd
synced 2025-06-03 09:43:13 +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.
27 lines
537 B
Meson
27 lines
537 B
Meson
cargs = ['-DG_LOG_DOMAIN="FuPluginAltos"']
|
|
|
|
install_data(['altos.quirk'],
|
|
install_dir: join_paths(datadir, 'fwupd', 'quirks.d')
|
|
)
|
|
|
|
shared_module('fu_plugin_altos',
|
|
sources : [
|
|
'fu-altos-device.c',
|
|
'fu-altos-firmware.c',
|
|
'fu-plugin-altos.c',
|
|
],
|
|
include_directories : [
|
|
include_directories('../..'),
|
|
include_directories('../../src'),
|
|
include_directories('../../libfwupd'),
|
|
],
|
|
install : true,
|
|
install_dir: plugin_dir,
|
|
c_args : cargs,
|
|
dependencies : [
|
|
gudev,
|
|
libelf,
|
|
plugin_deps,
|
|
],
|
|
)
|