mirror of
https://git.proxmox.com/git/fwupd
synced 2025-06-03 15:43:44 +00:00

tristate features will automatically disable if dependencies marked as required are missing. Packagers can manually override using `auto_features`. Link: https://mesonbuild.com/Build-options.html#features
32 lines
608 B
Meson
32 lines
608 B
Meson
if get_option('plugin_emmc').require(gudev.found(),
|
|
error_message: 'gudev is needed for plugin_emmc').allowed()
|
|
|
|
cargs = ['-DG_LOG_DOMAIN="FuPluginEmmc"']
|
|
|
|
install_data(['emmc.quirk'],
|
|
install_dir: join_paths(datadir, 'fwupd', 'quirks.d')
|
|
)
|
|
shared_module('fu_plugin_emmc',
|
|
fu_hash,
|
|
sources : [
|
|
'fu-plugin-emmc.c',
|
|
'fu-emmc-device.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,
|
|
],
|
|
)
|
|
endif
|