mirror of
https://git.proxmox.com/git/fwupd
synced 2025-06-13 08:08:30 +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
28 lines
504 B
Meson
28 lines
504 B
Meson
if hsi and (host_cpu == 'x86' or host_cpu == 'x86_64')
|
|
cargs = ['-DG_LOG_DOMAIN="FuPluginIommu"']
|
|
|
|
plugin_quirks += join_paths(meson.current_source_dir(), 'iommu.quirk')
|
|
|
|
shared_module('fu_plugin_iommu',
|
|
fu_hash,
|
|
sources: [
|
|
'fu-plugin-iommu.c',
|
|
],
|
|
include_directories: [
|
|
root_incdir,
|
|
fwupd_incdir,
|
|
fwupdplugin_incdir,
|
|
],
|
|
install: true,
|
|
install_dir: plugin_dir,
|
|
link_with: [
|
|
fwupdplugin,
|
|
fwupd,
|
|
],
|
|
c_args: cargs,
|
|
dependencies: [
|
|
plugin_deps,
|
|
],
|
|
)
|
|
endif
|