fwupd/plugins/android-boot/meson.build
Dylan Van Assche d0d4b17a7f plugins: android-boot: new plugin
Add a plugin for supporting Android bootloaders which are used on
all Qualcomm-based Android devices. These bootloaders are stored on
their own partitions and the partition table cannot be altered on
Qualcomm devices. This plugin supports any block device, but only
exposes the ones defined in the quirk file as updatable.
2022-09-05 17:59:11 +01:00

32 lines
663 B
Meson

if get_option('plugin_android_boot').require(gudev.found(),
error_message: 'gudev is needed for plugin_android_boot').allowed()
cargs = ['-DG_LOG_DOMAIN="FuPluginAndroidBoot"']
install_data(['android-boot.quirk'],
install_dir: join_paths(datadir, 'fwupd', 'quirks.d')
)
shared_module('fu_plugin_android_boot',
fu_hash,
sources : [
'fu-plugin-android-boot.c',
'fu-android-boot-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