fwupd/plugins/coreboot/meson.build
Patrick Rudolph b21c3af2ea plugins/coreboot: Improve version detection
Only on Lenovo devices the DMI version string is prefixed with
CBETxxxx to make the thinkpad_acpi kernel module happy.

Add a new quirk called "CorebootVersionQuirks" to detect platforms
that need to cut of the prefix.

Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
2019-11-27 14:26:26 +00:00

30 lines
506 B
Meson

cargs = ['-DG_LOG_DOMAIN="FuPluginCoreboot"']
install_data(['coreboot.quirk'],
install_dir: join_paths(datadir, 'fwupd', 'quirks.d')
)
shared_module('fu_plugin_coreboot',
sources : [
'fu-plugin-coreboot.c',
'fu-coreboot-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,
],
)