Add a configure option for fastboot support

Fixes https://github.com/fwupd/fwupd/issues/3920
This commit is contained in:
Richard Hughes 2021-10-30 14:03:52 +01:00 committed by Mario Limonciello
parent d7bedc20af
commit ad12a809e3
2 changed files with 7 additions and 1 deletions

View File

@ -17,6 +17,7 @@ option('plugin_amt', type : 'boolean', value : true, description : 'enable Intel
option('plugin_dell', type : 'boolean', value : true, description : 'enable Dell-specific support')
option('plugin_dummy', type : 'boolean', value : false, description : 'enable the dummy device')
option('plugin_emmc', type : 'boolean', value : true, description : 'enable eMMC support')
option('plugin_fastboot', type : 'boolean', value : true, description : 'enable Fastboot support')
option('plugin_logitech_bulkcontroller', type : 'boolean', value : true, description : 'enable Logitech bulk controller support')
option('plugin_parade_lspcon', type : 'boolean', value : true, description : 'enable Parade LSPCON support')
option('plugin_realtek_mst', type : 'boolean', value : true, description : 'enable Realtek MST hub support')

View File

@ -1,4 +1,9 @@
if get_option('gusb')
if get_option('plugin_fastboot')
if not get_option('gusb')
error('gusb is required for plugin_fastboot')
endif
cargs = ['-DG_LOG_DOMAIN="FuPluginFastboot"']
install_data(['fastboot.quirk'],