mirror of
https://git.proxmox.com/git/fwupd
synced 2025-06-11 22:44:28 +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
26 lines
449 B
Meson
26 lines
449 B
Meson
if hsi and (host_cpu == 'x86' or host_cpu == 'x86_64')
|
|
cargs = ['-DG_LOG_DOMAIN="FuPluginLinuxSleep"']
|
|
|
|
shared_module('fu_plugin_linux_sleep',
|
|
fu_hash,
|
|
sources: [
|
|
'fu-plugin-linux-sleep.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
|