mirror of
https://git.proxmox.com/git/fwupd
synced 2026-03-28 20:34:51 +00:00
32 lines
628 B
Meson
32 lines
628 B
Meson
if get_option('plugin_fastboot').require(gusb.found(),
|
|
error_message: 'gusb is needed for plugin_fastboot').allowed()
|
|
cargs = ['-DG_LOG_DOMAIN="FuPluginFastboot"']
|
|
|
|
install_data(['fastboot.quirk'],
|
|
install_dir: join_paths(datadir, 'fwupd', 'quirks.d')
|
|
)
|
|
|
|
shared_module('fu_plugin_fastboot',
|
|
fu_hash,
|
|
sources: [
|
|
'fu-plugin-fastboot.c',
|
|
'fu-fastboot-device.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
|