mirror of
https://git.proxmox.com/git/fwupd
synced 2025-06-04 04:38:13 +00:00

tristate features will automatically disable if dependencies marked as required are missing. Packagers can manually override using `auto_features`. Link: https://mesonbuild.com/Build-options.html#features
32 lines
542 B
Meson
32 lines
542 B
Meson
if gusb.found()
|
|
cargs = ['-DG_LOG_DOMAIN="FuPluginDfuCsr"']
|
|
|
|
install_data(['dfu-csr.quirk'],
|
|
install_dir: join_paths(datadir, 'fwupd', 'quirks.d')
|
|
)
|
|
|
|
shared_module('fu_plugin_dfu_csr',
|
|
fu_hash,
|
|
sources : [
|
|
'fu-dfu-csr-device.c',
|
|
'fu-plugin-dfu-csr.c',
|
|
],
|
|
include_directories : [
|
|
root_incdir,
|
|
fwupd_incdir,
|
|
fwupdplugin_incdir,
|
|
plugindfu_incdir,
|
|
],
|
|
install : true,
|
|
install_dir: plugin_dir,
|
|
c_args : cargs,
|
|
dependencies : [
|
|
plugin_deps,
|
|
],
|
|
link_with : [
|
|
fwupdplugin,
|
|
dfu,
|
|
],
|
|
)
|
|
endif
|