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

Interestingly, this increases the `fwupd` binary size by ~30kb but reduces the installed size of /usr/share/fwupd/quirks.d by ~330kb.
31 lines
563 B
Meson
31 lines
563 B
Meson
if gusb.found()
|
|
cargs = ['-DG_LOG_DOMAIN="FuPluginAnalogix"']
|
|
|
|
plugin_quirks += join_paths(meson.current_source_dir(), 'analogix.quirk')
|
|
|
|
shared_module('fu_plugin_analogix',
|
|
fu_hash,
|
|
sources: [
|
|
'fu-plugin-analogix.c',
|
|
'fu-analogix-device.c',
|
|
'fu-analogix-common.c',
|
|
'fu-analogix-firmware.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
|