mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-15 20:31:59 +00:00

This also means we now include a flashrom subproject as no distro currently has a flashrom new enough to build the plugin. Signed-off-by: Richard Hughes <richard@hughsie.com> Signed-off-by: Artur Raglis <artur.raglis@3mdeb.com> Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
31 lines
616 B
Meson
31 lines
616 B
Meson
cargs = ['-DG_LOG_DOMAIN="FuPluginFlashrom"']
|
|
|
|
install_data(['flashrom.quirk'],
|
|
install_dir: join_paths(get_option('datadir'), 'fwupd', 'quirks.d')
|
|
)
|
|
|
|
shared_module('fu_plugin_flashrom',
|
|
fu_hash,
|
|
sources : [
|
|
'fu-plugin-flashrom.c',
|
|
],
|
|
include_directories : [
|
|
include_directories('../..'),
|
|
include_directories('../../src'),
|
|
include_directories('../../libfwupd'),
|
|
],
|
|
install : true,
|
|
install_dir: plugin_dir,
|
|
link_with : [
|
|
libfwupdprivate,
|
|
],
|
|
c_args : [
|
|
cargs,
|
|
'-DLOCALSTATEDIR="' + localstatedir + '"',
|
|
],
|
|
dependencies : [
|
|
plugin_deps,
|
|
libflashrom,
|
|
],
|
|
)
|