fwupd/plugins/flashrom/meson.build
Richard Hughes 1f261ba283 Rename the source file and private data of modular plugins
This would allow us to convert more easily to a built-in plugin in the future
and means we match the source style used in 97% of the other plugins.

No logic changes.
2022-09-30 15:20:23 +01:00

27 lines
588 B
Meson

if get_option('plugin_flashrom').enabled() or \
(get_option('plugin_flashrom').auto() and libflashrom.found())
cargs = ['-DG_LOG_DOMAIN="FuPluginFlashrom"']
plugin_quirks += files('flashrom.quirk')
shared_module('fu_plugin_flashrom',
sources: [
'fu-flashrom-device.c',
'fu-flashrom-plugin.c',
'fu-flashrom-cmos.c',
],
include_directories: plugin_incdirs,
install: true,
install_dir: libdir_pkg,
link_with: plugin_libs,
c_args: [
cargs,
'-DLOCALSTATEDIR="' + localstatedir + '"',
],
dependencies: [
plugin_deps,
libflashrom,
],
)
endif