mirror of
https://git.proxmox.com/git/fwupd
synced 2025-06-03 13:41:12 +00:00

For a while we flirted with the idea of updating non-internal libflashrom-derived devices but the impedance mismatch was just too great. We removed the extra unused subclasses of FuFlashromDevice, but never removed the indirection we added for the writing. Remove the unused code now that we agree on the longer term plan.
37 lines
741 B
Meson
37 lines
741 B
Meson
if get_option('plugin_flashrom').enabled() or \
|
|
(get_option('plugin_flashrom').auto() and libflashrom.found())
|
|
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',
|
|
'fu-flashrom-cmos.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,
|
|
],
|
|
)
|
|
endif
|