fwupd/plugins/pci-psp/meson.build
Mario Limonciello 1a66818970 Add new plugin for AMD PSP
This plugin reads in values exported by the PSP on supported AMD
SOCs to calculate the system state based on this information
2022-04-12 12:23:16 -05:00

32 lines
570 B
Meson

if get_option('hsi') and \
host_machine.system() == 'linux' and \
host_cpu == 'x86_64'
cargs = ['-DG_LOG_DOMAIN="FuPluginPciPsp"']
install_data(['pci-psp.quirk'],
install_dir: join_paths(datadir, 'fwupd', 'quirks.d')
)
shared_module('fu_plugin_pci_psp',
fu_hash,
sources : [
'fu-plugin-pci-psp.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