fwupd/plugins/pci-mei/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

31 lines
560 B
Meson

if get_option('hsi') and host_machine.system() == 'linux'
cargs = ['-DG_LOG_DOMAIN="FuPluginPciMei"']
install_data(['pci-mei.quirk'],
install_dir: join_paths(datadir, 'fwupd', 'quirks.d')
)
shared_module('fu_plugin_pci_mei',
fu_hash,
sources : [
'fu-plugin-pci-mei.c',
'fu-mei-common.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