mirror of
https://git.proxmox.com/git/fwupd
synced 2025-06-13 17:01:48 +00:00

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().
33 lines
595 B
Meson
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,
|
|
],
|
|
)
|