mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-17 20:26:33 +00:00

Add fu_cros_ec_parse_version to common, as this will be used to parse the firmware bundle's version string too.
30 lines
531 B
Meson
30 lines
531 B
Meson
cargs = ['-DG_LOG_DOMAIN="FuPluginCrosEc"']
|
|
|
|
install_data(['cros-ec.quirk'],
|
|
install_dir: join_paths(datadir, 'fwupd', 'quirks.d')
|
|
)
|
|
|
|
shared_module('fu_plugin_cros_ec',
|
|
fu_hash,
|
|
sources : [
|
|
'fu-plugin-cros-ec.c',
|
|
'fu-cros-ec-usb-device.c',
|
|
'fu-cros-ec-common.c',
|
|
],
|
|
include_directories : [
|
|
root_incdir,
|
|
fwupd_incdir,
|
|
fwupdplugin_incdir,
|
|
],
|
|
install : true,
|
|
install_dir: plugin_dir,
|
|
link_with : [
|
|
fwupd,
|
|
fwupdplugin,
|
|
],
|
|
c_args : cargs,
|
|
dependencies : [
|
|
plugin_deps,
|
|
],
|
|
)
|