mirror of
https://git.proxmox.com/git/fwupd
synced 2026-01-25 20:51:20 +00:00
Move the plugin build logic to the plugins themselves
This commit is contained in:
parent
90254a5152
commit
a22c13c637
@ -30,6 +30,7 @@ meson .. \
|
||||
-Dintrospection=false \
|
||||
-Dplugin_thunderbolt=false \
|
||||
-Dplugin_synaptics_mst=false \
|
||||
-Dplugin_synaptics_rmi=false \
|
||||
-Dman=false \
|
||||
-Dsoup_session_compat=false \
|
||||
-Dgcab:introspection=false \
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if host_machine.system() == 'linux'
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginAcpiDmar"']
|
||||
|
||||
shared_module('fu_plugin_acpi_dmar',
|
||||
@ -51,3 +52,4 @@ if get_option('tests')
|
||||
)
|
||||
test('acpi-dmar-self-test', e, env : testdatadirs) # added to installed-tests
|
||||
endif
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if host_machine.system() == 'linux'
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginAcpiFacp"']
|
||||
|
||||
shared_module('fu_plugin_acpi_facp',
|
||||
@ -51,3 +52,4 @@ if get_option('tests')
|
||||
)
|
||||
test('acpi-facp-self-test', e, env : testdatadirs) # added to installed-tests
|
||||
endif
|
||||
endif
|
||||
|
||||
@ -1,3 +1,7 @@
|
||||
if get_option('plugin_altos')
|
||||
if not get_option('gudev') or not get_option('gusb')
|
||||
error('gudev and gusb is required for plugin_altos')
|
||||
endif
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginAltos"']
|
||||
|
||||
install_data(['altos.quirk'],
|
||||
@ -28,3 +32,4 @@ shared_module('fu_plugin_altos',
|
||||
plugin_deps,
|
||||
],
|
||||
)
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if get_option('plugin_amt')
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginAmt"']
|
||||
|
||||
shared_module('fu_plugin_amt',
|
||||
@ -21,3 +22,4 @@ shared_module('fu_plugin_amt',
|
||||
plugin_deps,
|
||||
],
|
||||
)
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if get_option('gudev')
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginAta"']
|
||||
|
||||
install_data([
|
||||
@ -60,3 +61,4 @@ if get_option('tests')
|
||||
)
|
||||
test('ata-self-test', e, env : testdatadirs) # added to installed-tests
|
||||
endif
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if get_option('plugin_uefi_capsule')
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginBios"']
|
||||
|
||||
shared_module('fu_plugin_bios',
|
||||
@ -21,3 +22,4 @@ shared_module('fu_plugin_bios',
|
||||
plugin_deps,
|
||||
],
|
||||
)
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if get_option('gusb')
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginCcgx"']
|
||||
|
||||
install_data([
|
||||
@ -37,3 +38,4 @@ shared_module('fu_plugin_ccgx',
|
||||
gudev,
|
||||
],
|
||||
)
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if get_option('gusb')
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginColorHug"']
|
||||
|
||||
install_data([
|
||||
@ -29,3 +30,4 @@ shared_module('fu_plugin_colorhug',
|
||||
plugin_deps,
|
||||
],
|
||||
)
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if get_option('gusb')
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginCrosEc"']
|
||||
|
||||
install_data(['cros-ec.quirk'],
|
||||
@ -28,3 +29,4 @@ shared_module('fu_plugin_cros_ec',
|
||||
plugin_deps,
|
||||
],
|
||||
)
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if get_option('plugin_dell')
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginDellEsrt"']
|
||||
|
||||
install_data(['metadata.xml'],
|
||||
@ -39,3 +40,4 @@ configure_file(
|
||||
install: true,
|
||||
install_dir: join_paths(sysconfdir, 'fwupd', 'remotes.d'),
|
||||
)
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if get_option('plugin_dell')
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginDell"']
|
||||
|
||||
install_data(['dell.quirk'],
|
||||
@ -65,3 +66,4 @@ if get_option('tests')
|
||||
)
|
||||
test('dell-self-test', e)
|
||||
endif
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if get_option('gusb')
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginDfuCsr"']
|
||||
|
||||
install_data(['dfu-csr.quirk'],
|
||||
@ -27,3 +28,4 @@ shared_module('fu_plugin_dfu_csr',
|
||||
dfu,
|
||||
],
|
||||
)
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if get_option('gusb')
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginDfu"']
|
||||
|
||||
install_data(['dfu.quirk'],
|
||||
@ -139,3 +140,4 @@ if get_option('tests')
|
||||
endif
|
||||
|
||||
plugindfu_incdir = include_directories('.')
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if get_option('gusb')
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginEbitdo"']
|
||||
|
||||
install_data(['ebitdo.quirk'],
|
||||
@ -28,3 +29,4 @@ shared_module('fu_plugin_ebitdo',
|
||||
plugin_deps,
|
||||
],
|
||||
)
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if get_option('gudev')
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginElantp"']
|
||||
|
||||
install_data([
|
||||
@ -34,3 +35,4 @@ shared_module('fu_plugin_elantp',
|
||||
plugin_deps,
|
||||
],
|
||||
)
|
||||
endif
|
||||
|
||||
@ -1,3 +1,7 @@
|
||||
if get_option('plugin_emmc')
|
||||
if not get_option('gudev')
|
||||
error('gudev is required for plugin_emmc')
|
||||
endif
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginEmmc"']
|
||||
|
||||
install_data(['emmc.quirk'],
|
||||
@ -25,3 +29,4 @@ shared_module('fu_plugin_emmc',
|
||||
plugin_deps,
|
||||
],
|
||||
)
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if get_option('gusb')
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginFastboot"']
|
||||
|
||||
install_data(['fastboot.quirk'],
|
||||
@ -26,3 +27,4 @@ shared_module('fu_plugin_fastboot',
|
||||
plugin_deps,
|
||||
],
|
||||
)
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if get_option('plugin_flashrom')
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginFlashrom"']
|
||||
|
||||
install_data(['flashrom.quirk'],
|
||||
@ -30,3 +31,4 @@ shared_module('fu_plugin_flashrom',
|
||||
libflashrom,
|
||||
],
|
||||
)
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if get_option('gusb')
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginFrescoPd"']
|
||||
|
||||
install_data(['fresco-pd.quirk'],
|
||||
@ -28,3 +29,4 @@ shared_module('fu_plugin_fresco_pd',
|
||||
plugin_deps,
|
||||
],
|
||||
)
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if get_option('gusb')
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginGoodixMoc"']
|
||||
|
||||
install_data([
|
||||
@ -28,3 +29,4 @@ shared_module('fu_plugin_goodixmoc',
|
||||
plugin_deps,
|
||||
],
|
||||
)
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if get_option('gusb')
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginNovatek"']
|
||||
|
||||
install_data([
|
||||
@ -32,3 +33,4 @@ shared_module('fu_plugin_hailuck',
|
||||
plugin_deps,
|
||||
],
|
||||
)
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if host_machine.system() == 'linux'
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginIommu"']
|
||||
|
||||
install_data([
|
||||
@ -27,3 +28,4 @@ shared_module('fu_plugin_iommu',
|
||||
plugin_deps,
|
||||
],
|
||||
)
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if get_option('gusb')
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginJabra"']
|
||||
|
||||
install_data(['jabra.quirk'],
|
||||
@ -26,3 +27,4 @@ shared_module('fu_plugin_jabra',
|
||||
plugin_deps,
|
||||
],
|
||||
)
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if host_machine.system() == 'linux'
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginLinuxLockdown"']
|
||||
|
||||
shared_module('fu_plugin_linux_lockdown',
|
||||
@ -21,3 +22,4 @@ shared_module('fu_plugin_linux_lockdown',
|
||||
plugin_deps,
|
||||
],
|
||||
)
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if host_machine.system() == 'linux'
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginLinuxSleep"']
|
||||
|
||||
shared_module('fu_plugin_linux_sleep',
|
||||
@ -21,3 +22,4 @@ shared_module('fu_plugin_linux_sleep',
|
||||
plugin_deps,
|
||||
],
|
||||
)
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if host_machine.system() == 'linux'
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginLinuxSwap"']
|
||||
|
||||
shared_module('fu_plugin_linux_swap',
|
||||
@ -22,6 +23,7 @@ shared_module('fu_plugin_linux_swap',
|
||||
plugin_deps,
|
||||
],
|
||||
)
|
||||
endif
|
||||
|
||||
if get_option('tests')
|
||||
e = executable(
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if host_machine.system() == 'linux'
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginLinuxTainted"']
|
||||
|
||||
shared_module('fu_plugin_linux_tainted',
|
||||
@ -21,3 +22,4 @@ shared_module('fu_plugin_linux_tainted',
|
||||
plugin_deps,
|
||||
],
|
||||
)
|
||||
endif
|
||||
|
||||
@ -1,3 +1,7 @@
|
||||
if get_option('systemd')
|
||||
if host_machine.system() != 'linux'
|
||||
error('linux is required for systemd')
|
||||
endif
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginLogind"']
|
||||
|
||||
shared_module('fu_plugin_logind',
|
||||
@ -21,3 +25,4 @@ shared_module('fu_plugin_logind',
|
||||
plugin_deps,
|
||||
],
|
||||
)
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if get_option('gudev') and get_option('gusb')
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginLogitechHidPp"']
|
||||
|
||||
install_data([
|
||||
@ -61,3 +62,4 @@ if get_option('tests')
|
||||
)
|
||||
test('logitech-hidpp-self-test', e)
|
||||
endif
|
||||
endif
|
||||
|
||||
@ -1,149 +1,66 @@
|
||||
subdir('acpi-dmar')
|
||||
subdir('acpi-facp')
|
||||
subdir('altos')
|
||||
subdir('amt')
|
||||
subdir('ata')
|
||||
subdir('bcm57xx')
|
||||
subdir('bios')
|
||||
subdir('ccgx')
|
||||
subdir('colorhug')
|
||||
subdir('cpu')
|
||||
subdir('cros-ec')
|
||||
subdir('dell')
|
||||
subdir('dell-dock')
|
||||
subdir('dell-esrt')
|
||||
subdir('dfu')
|
||||
subdir('dfu-csr')
|
||||
subdir('ebitdo')
|
||||
subdir('elantp')
|
||||
subdir('emmc')
|
||||
subdir('ep963x')
|
||||
subdir('fastboot')
|
||||
subdir('flashrom')
|
||||
subdir('fresco-pd')
|
||||
subdir('goodix-moc')
|
||||
subdir('hailuck')
|
||||
subdir('iommu')
|
||||
subdir('jabra')
|
||||
subdir('linux-lockdown')
|
||||
subdir('linux-sleep')
|
||||
subdir('linux-swap')
|
||||
subdir('linux-tainted')
|
||||
subdir('dell-dock')
|
||||
subdir('logind')
|
||||
subdir('logitech-hidpp')
|
||||
subdir('modem-manager')
|
||||
subdir('msr')
|
||||
subdir('nitrokey')
|
||||
subdir('nvme')
|
||||
subdir('optionrom')
|
||||
subdir('pci-bcr')
|
||||
subdir('pci-mei')
|
||||
subdir('test')
|
||||
subdir('upower')
|
||||
subdir('pixart-rf')
|
||||
|
||||
if get_option('plugin_msr')
|
||||
subdir('msr')
|
||||
endif
|
||||
|
||||
if get_option('gudev')
|
||||
subdir('ata')
|
||||
subdir('elantp')
|
||||
subdir('optionrom')
|
||||
subdir('superio')
|
||||
subdir('thelio-io')
|
||||
subdir('wacom-raw')
|
||||
endif
|
||||
|
||||
if get_option('gudev') and get_option('plugin_synaptics_rmi')
|
||||
subdir('synaptics-rmi')
|
||||
endif
|
||||
|
||||
if get_option('gudev') and get_option('gusb')
|
||||
subdir('logitech-hidpp')
|
||||
endif
|
||||
|
||||
if get_option('systemd')
|
||||
subdir('logind')
|
||||
endif
|
||||
|
||||
if get_option('gusb')
|
||||
subdir('ccgx')
|
||||
subdir('colorhug')
|
||||
subdir('cros-ec')
|
||||
subdir('dfu')
|
||||
subdir('ebitdo')
|
||||
subdir('fastboot')
|
||||
subdir('fresco-pd')
|
||||
subdir('goodix-moc')
|
||||
subdir('hailuck')
|
||||
subdir('jabra')
|
||||
subdir('platform-integrity')
|
||||
subdir('redfish')
|
||||
subdir('rts54hid')
|
||||
subdir('rts54hub')
|
||||
subdir('solokey')
|
||||
subdir('steelseries')
|
||||
subdir('superio')
|
||||
subdir('synaptics-cxaudio')
|
||||
subdir('synaptics-mst')
|
||||
subdir('synaptics-prometheus')
|
||||
subdir('synaptics-rmi')
|
||||
subdir('system76-launch')
|
||||
subdir('vli')
|
||||
subdir('wacom-usb')
|
||||
|
||||
# depends on dfu
|
||||
subdir('dfu-csr')
|
||||
endif
|
||||
|
||||
if get_option('plugin_tpm')
|
||||
if not get_option('gudev')
|
||||
error('gudev is required for tpm')
|
||||
endif
|
||||
subdir('test')
|
||||
subdir('thelio-io')
|
||||
subdir('thunderbolt')
|
||||
subdir('tpm')
|
||||
subdir('tpm-eventlog')
|
||||
endif
|
||||
|
||||
if get_option('plugin_emmc')
|
||||
if not get_option('gudev')
|
||||
error('gudev is required for plugin_emmc')
|
||||
endif
|
||||
subdir('emmc')
|
||||
endif
|
||||
|
||||
if get_option('plugin_nvme')
|
||||
if not get_option('gudev')
|
||||
error('gudev is required for plugin_nvme')
|
||||
endif
|
||||
subdir('nvme')
|
||||
endif
|
||||
|
||||
if get_option('plugin_modem_manager')
|
||||
subdir('modem-manager')
|
||||
endif
|
||||
|
||||
if get_option('plugin_altos')
|
||||
if not get_option('gudev') or not get_option('gusb')
|
||||
error('gudev and gusb is required for plugin_altos')
|
||||
endif
|
||||
subdir('altos')
|
||||
endif
|
||||
|
||||
if get_option('plugin_amt')
|
||||
subdir('amt')
|
||||
endif
|
||||
|
||||
if get_option('plugin_thunderbolt')
|
||||
if not get_option('gudev')
|
||||
error('gudev is required for plugin_thunderbolt')
|
||||
endif
|
||||
subdir('thunderbolt')
|
||||
endif
|
||||
|
||||
if get_option('plugin_redfish')
|
||||
if not get_option('curl')
|
||||
error('curl is required for plugin_redfish')
|
||||
endif
|
||||
subdir('redfish')
|
||||
endif
|
||||
|
||||
if get_option('plugin_dell')
|
||||
subdir('dell')
|
||||
subdir('dell-esrt')
|
||||
endif
|
||||
|
||||
if get_option('plugin_synaptics_mst')
|
||||
if not get_option('gudev')
|
||||
error('gudev is required for plugin_synaptics_mst')
|
||||
endif
|
||||
subdir('synaptics-mst')
|
||||
endif
|
||||
|
||||
if get_option('plugin_uefi_capsule')
|
||||
subdir('bios')
|
||||
subdir('uefi-capsule')
|
||||
subdir('uefi-recovery')
|
||||
subdir('uefi-dbx')
|
||||
endif
|
||||
|
||||
if get_option('plugin_uefi_pk')
|
||||
subdir('uefi-pk')
|
||||
endif
|
||||
|
||||
if get_option('plugin_flashrom')
|
||||
subdir('flashrom')
|
||||
endif
|
||||
|
||||
if get_option('plugin_platform_integrity')
|
||||
subdir('platform-integrity')
|
||||
endif
|
||||
subdir('uefi-recovery')
|
||||
subdir('upower')
|
||||
subdir('vli')
|
||||
subdir('wacom-raw')
|
||||
subdir('wacom-usb')
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if get_option('plugin_modem_manager')
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginMm"']
|
||||
|
||||
install_data(['modem-manager.quirk'],
|
||||
@ -32,3 +33,4 @@ shared_module('fu_plugin_modem_manager',
|
||||
libqmi_glib,
|
||||
],
|
||||
)
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if get_option('plugin_msr')
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginMsr"']
|
||||
|
||||
install_data(['msr.quirk'],
|
||||
@ -31,3 +32,4 @@ shared_module('fu_plugin_msr',
|
||||
plugin_deps,
|
||||
],
|
||||
)
|
||||
endif
|
||||
|
||||
@ -1,3 +1,7 @@
|
||||
if get_option('plugin_nvme')
|
||||
if not get_option('gudev')
|
||||
error('gudev is required for plugin_nvme')
|
||||
endif
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginNvme"']
|
||||
|
||||
install_data([
|
||||
@ -62,3 +66,4 @@ if get_option('tests')
|
||||
)
|
||||
test('nvme-self-test', e, env : testdatadirs) # added to installed-tests
|
||||
endif
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if get_option('gudev')
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginOptionrom"']
|
||||
|
||||
install_data(['optionrom.quirk'],
|
||||
@ -26,3 +27,4 @@ shared_module('fu_plugin_optionrom',
|
||||
plugin_deps,
|
||||
],
|
||||
)
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if host_machine.system() == 'linux'
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginPciBcr"']
|
||||
|
||||
install_data(['pci-bcr.quirk'],
|
||||
@ -25,3 +26,4 @@ shared_module('fu_plugin_pci_bcr',
|
||||
plugin_deps,
|
||||
],
|
||||
)
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if host_machine.system() == 'linux'
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginPciMei"']
|
||||
|
||||
install_data(['pci-mei.quirk'],
|
||||
@ -26,3 +27,4 @@ shared_module('fu_plugin_pci_mei',
|
||||
plugin_deps,
|
||||
],
|
||||
)
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if host_machine.system() == 'linux'
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginPixartRf"']
|
||||
|
||||
install_data(['pixart-rf.quirk'],
|
||||
@ -27,3 +28,4 @@ shared_module('fu_plugin_pixart_rf',
|
||||
fwupdplugin,
|
||||
],
|
||||
)
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if get_option('plugin_platform_integrity')
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginPlatformIntegrity"']
|
||||
|
||||
install_data([
|
||||
@ -33,3 +34,4 @@ shared_module('fu_plugin_platform_integrity',
|
||||
plugin_deps,
|
||||
],
|
||||
)
|
||||
endif
|
||||
|
||||
@ -1,3 +1,7 @@
|
||||
if get_option('plugin_redfish')
|
||||
if not get_option('curl')
|
||||
error('curl is required for plugin_redfish')
|
||||
endif
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginRedfish"']
|
||||
|
||||
shared_module('fu_plugin_redfish',
|
||||
@ -59,3 +63,4 @@ if get_option('tests')
|
||||
)
|
||||
test('redfish-self-test', e) # added to installed-tests
|
||||
endif
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if get_option('gusb')
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginRts54Hid"']
|
||||
|
||||
install_data([
|
||||
@ -29,3 +30,4 @@ shared_module('fu_plugin_rts54hid',
|
||||
plugin_deps,
|
||||
],
|
||||
)
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if get_option('gusb')
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginRts54Hub"']
|
||||
|
||||
install_data([
|
||||
@ -29,3 +30,4 @@ shared_module('fu_plugin_rts54hub',
|
||||
plugin_deps,
|
||||
],
|
||||
)
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if get_option('gusb')
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginSoloKey"']
|
||||
|
||||
install_data([
|
||||
@ -30,3 +31,4 @@ shared_module('fu_plugin_solokey',
|
||||
libjsonglib,
|
||||
],
|
||||
)
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if get_option('gusb')
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginSteelSeries"']
|
||||
|
||||
install_data(['steelseries.quirk'],
|
||||
@ -25,3 +26,4 @@ shared_module('fu_plugin_steelseries',
|
||||
plugin_deps,
|
||||
],
|
||||
)
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if get_option('gudev')
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginSuperio"']
|
||||
|
||||
install_data(['superio.quirk'],
|
||||
@ -29,3 +30,4 @@ shared_module('fu_plugin_superio',
|
||||
plugin_deps,
|
||||
],
|
||||
)
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if get_option('gusb')
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginSynapticsCxaudio"']
|
||||
|
||||
install_data(['synaptics-cxaudio.quirk'],
|
||||
@ -27,3 +28,4 @@ shared_module('fu_plugin_synaptics_cxaudio',
|
||||
plugin_deps,
|
||||
],
|
||||
)
|
||||
endif
|
||||
|
||||
@ -1,3 +1,7 @@
|
||||
if get_option('plugin_synaptics_mst')
|
||||
if not get_option('gudev')
|
||||
error('gudev is required for plugin_synaptics_mst')
|
||||
endif
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginSynapticsMST"']
|
||||
|
||||
install_data(['synaptics-mst.quirk'],
|
||||
@ -67,3 +71,4 @@ if get_option('tests')
|
||||
)
|
||||
test('synaptics-mst-self-test', e, env: testdatadirs)
|
||||
endif
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if get_option('gusb')
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginSynapticsPrometheus"']
|
||||
|
||||
install_data(['synaptics-prometheus.quirk'],
|
||||
@ -62,3 +63,4 @@ if get_option('tests')
|
||||
)
|
||||
test('synaptics-prometheus-self-test', e, env : testdatadirs) # added to installed-tests
|
||||
endif
|
||||
endif
|
||||
|
||||
@ -1,3 +1,7 @@
|
||||
if get_option('plugin_synaptics_rmi')
|
||||
if not get_option('gudev')
|
||||
error('gudev is required for plugin_synaptics_rmi')
|
||||
endif
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginSynapticsRmi"']
|
||||
|
||||
install_data(['synaptics-rmi.quirk'],
|
||||
@ -34,3 +38,4 @@ shared_module('fu_plugin_synaptics_rmi',
|
||||
fwupdplugin,
|
||||
],
|
||||
)
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if get_option('gusb')
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginSystem76Launch"']
|
||||
|
||||
install_data(['system76-launch.quirk'],
|
||||
@ -25,3 +26,4 @@ shared_module('fu_plugin_system76_launch',
|
||||
plugin_deps,
|
||||
],
|
||||
)
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if get_option('gudev')
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginThelioIo"']
|
||||
|
||||
install_data(['thelio-io.quirk'],
|
||||
@ -26,3 +27,4 @@ shared_module('fu_plugin_thelio_io',
|
||||
plugin_deps,
|
||||
],
|
||||
)
|
||||
endif
|
||||
|
||||
@ -1,3 +1,7 @@
|
||||
if get_option('plugin_thunderbolt')
|
||||
if not get_option('gudev')
|
||||
error('gudev is required for plugin_thunderbolt')
|
||||
endif
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginThunderbolt"']
|
||||
cargs += '-DTESTDATADIR="' + join_paths(meson.source_root(), 'data', 'tests') + '"'
|
||||
install_data([
|
||||
@ -70,3 +74,4 @@ if get_option('tests') and umockdev.found() and gio.version().version_compare('>
|
||||
endif
|
||||
test('thunderbolt-self-test', e, env: test_env, timeout : 120)
|
||||
endif
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if get_option('plugin_tpm')
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginTpmEventlog"']
|
||||
|
||||
shared_module('fu_plugin_tpm_eventlog',
|
||||
@ -110,3 +111,4 @@ if honggfuzz.found()
|
||||
],
|
||||
)
|
||||
endif
|
||||
endif
|
||||
|
||||
@ -1,3 +1,7 @@
|
||||
if get_option('plugin_tpm')
|
||||
if not get_option('gudev')
|
||||
error('gudev is required for tpm')
|
||||
endif
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginTpm"']
|
||||
|
||||
install_data([
|
||||
@ -29,3 +33,4 @@ shared_module('fu_plugin_tpm',
|
||||
tpm2tss,
|
||||
],
|
||||
)
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if get_option('plugin_uefi_capsule')
|
||||
subdir('efi')
|
||||
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginUefiCapsule"']
|
||||
@ -160,3 +161,4 @@ if get_option('tests')
|
||||
)
|
||||
test('uefi-self-test', e)
|
||||
endif
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if get_option('plugin_uefi_capsule')
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginUefiDbx"']
|
||||
|
||||
shared_module('fu_plugin_uefi_dbx',
|
||||
@ -99,3 +100,4 @@ if get_option('man')
|
||||
install_dir : join_paths(mandir, 'man1'),
|
||||
)
|
||||
endif
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if get_option('plugin_uefi_pk')
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginUefiPk"']
|
||||
|
||||
shared_module('fu_plugin_uefi_pk',
|
||||
@ -22,3 +23,4 @@ shared_module('fu_plugin_uefi_pk',
|
||||
gnutls,
|
||||
],
|
||||
)
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if get_option('plugin_uefi_capsule')
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginUefiRecovery"']
|
||||
|
||||
install_data(['uefi-recovery.quirk'],
|
||||
@ -27,3 +28,4 @@ shared_module('fu_plugin_uefi_recovery',
|
||||
plugin_deps,
|
||||
],
|
||||
)
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if host_machine.system() == 'linux'
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginUpower"']
|
||||
|
||||
shared_module('fu_plugin_upower',
|
||||
@ -25,3 +26,4 @@ shared_module('fu_plugin_upower',
|
||||
install_data(['upower.conf'],
|
||||
install_dir: join_paths(sysconfdir, 'fwupd')
|
||||
)
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if get_option('gusb')
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginVliUsbhub"']
|
||||
|
||||
install_data([
|
||||
@ -70,3 +71,4 @@ if get_option('tests')
|
||||
)
|
||||
test('vli-self-test', e) # added to installed-tests
|
||||
endif
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if get_option('gudev')
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginWacomRaw"']
|
||||
|
||||
install_data(['wacom-raw.quirk'],
|
||||
@ -29,3 +30,4 @@ shared_module('fu_plugin_wacom_raw',
|
||||
fwupdplugin,
|
||||
],
|
||||
)
|
||||
endif
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
if get_option('gusb')
|
||||
cargs = ['-DG_LOG_DOMAIN="FuPluginWacomUsb"']
|
||||
|
||||
install_data(['wacom-usb.quirk'],
|
||||
@ -66,3 +67,4 @@ if get_option('tests')
|
||||
)
|
||||
test('wacom-usb-self-test', e, env : testdatadirs) # added to installed-tests
|
||||
endif
|
||||
endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user