mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-06 13:02:18 +00:00

This plugin is read-only, but can be used to tell what version of SMU firmware is installed.
29 lines
548 B
Meson
29 lines
548 B
Meson
if gudev.found() and (host_cpu == 'x86' or host_cpu == 'x86_64')
|
|
cargs = ['-DG_LOG_DOMAIN="FuPluginAmdPmc"']
|
|
|
|
plugin_quirks += join_paths(meson.current_source_dir(), 'amd-pmc.quirk')
|
|
|
|
shared_module('fu_plugin_amd_pmc',
|
|
fu_hash,
|
|
sources: [
|
|
'fu-plugin-amd-pmc.c',
|
|
'fu-amd-pmc-device.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
|