mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-02 18:57:26 +00:00
34 lines
578 B
Meson
34 lines
578 B
Meson
if get_option('gusb')
|
|
cargs = ['-DG_LOG_DOMAIN="FuPluginSoloKey"']
|
|
|
|
install_data([
|
|
'solokey.quirk',
|
|
],
|
|
install_dir: join_paths(datadir, 'fwupd', 'quirks.d')
|
|
)
|
|
|
|
shared_module('fu_plugin_solokey',
|
|
fu_hash,
|
|
sources : [
|
|
'fu-solokey-device.c',
|
|
'fu-solokey-firmware.c', # fuzzing
|
|
'fu-plugin-solokey.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,
|
|
],
|
|
)
|
|
endif
|