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

This allows us to disable it automatically on architectures that aren't supported and OSes that aren't supported. Link: https://bugs.launchpad.net/ubuntu/+source/fwupd/+bug/1987067
37 lines
643 B
Meson
37 lines
643 B
Meson
if hsi and has_cpuid
|
|
cargs = ['-DG_LOG_DOMAIN="FuPluginMsr"']
|
|
|
|
plugin_quirks += join_paths(meson.current_source_dir(), 'msr.quirk')
|
|
|
|
if libsystemd.found()
|
|
install_data(['fwupd-msr.conf'],
|
|
install_dir: systemd_modules_load_dir,
|
|
)
|
|
endif
|
|
|
|
install_data(['msr.conf'],
|
|
install_dir: join_paths(sysconfdir, 'fwupd')
|
|
)
|
|
shared_module('fu_plugin_msr',
|
|
fu_hash,
|
|
sources: [
|
|
'fu-plugin-msr.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
|