mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-26 00:18:23 +00:00

There's no actual hardware to test this against yet, but this is how I would lay out a plugin if there was. We still need to work out a generic encapsulation for the offer and payload (for each component and bank) so this can work with LVFS and fwupd.
32 lines
511 B
Meson
32 lines
511 B
Meson
cargs = ['-DG_LOG_DOMAIN="FuPluginCfu"']
|
|
|
|
install_data([
|
|
'cfu.quirk',
|
|
],
|
|
install_dir: join_paths(datadir, 'fwupd', 'quirks.d')
|
|
)
|
|
|
|
shared_module('fu_plugin_cfu',
|
|
fu_hash,
|
|
sources : [
|
|
'fu-cfu-device.c',
|
|
'fu-cfu-module.c',
|
|
'fu-plugin-cfu.c',
|
|
],
|
|
include_directories : [
|
|
root_incdir,
|
|
fwupd_incdir,
|
|
fwupdplugin_incdir,
|
|
],
|
|
install : true,
|
|
install_dir: plugin_dir,
|
|
link_with : [
|
|
fwupd,
|
|
fwupdplugin,
|
|
],
|
|
c_args : cargs,
|
|
dependencies : [
|
|
plugin_deps,
|
|
],
|
|
)
|