fwupd/plugins/flashrom/meson.build
Richard Hughes 6101067f03 coreboot: Remove plugin and instead add metadata to flashrom devices
The coreboot plugin never actually gained the ability to write. As it stands a
coreboot system now adds *two* system-firmware devices (from both flashrom and
coreboot) which isn't ideal.

Just allow flashrom to enumerate quirked devices and add coreboot-specific
metadata as required. If we require some kind of cbfs parsing then we can do
that in FuFlashromDevice->prepare_firmware().
2021-01-19 21:32:59 +00:00

33 lines
595 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-flashrom-device.c',
'fu-plugin-flashrom.c',
],
include_directories : [
root_incdir,
fwupd_incdir,
fwupdplugin_incdir,
],
install : true,
install_dir: plugin_dir,
link_with : [
fwupd,
fwupdplugin,
],
c_args : [
cargs,
'-DLOCALSTATEDIR="' + localstatedir + '"',
],
dependencies : [
plugin_deps,
libflashrom,
],
)