fwupd/plugins/linux-tainted/meson.build
Richard Hughes dc1d5de057 Make the HSI tests optional for embedded targets
70% of the plugins installed on OpenBMC are not being used...
2021-11-29 09:30:57 +00:00

26 lines
464 B
Meson

if get_option('hsi') and host_machine.system() == 'linux'
cargs = ['-DG_LOG_DOMAIN="FuPluginLinuxTainted"']
shared_module('fu_plugin_linux_tainted',
fu_hash,
sources : [
'fu-plugin-linux-tainted.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