mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-16 01:06:09 +00:00
Add a configure option for fastboot support
Fixes https://github.com/fwupd/fwupd/issues/3920
This commit is contained in:
parent
d7bedc20af
commit
ad12a809e3
@ -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_dell', type : 'boolean', value : true, description : 'enable Dell-specific support')
|
||||||
option('plugin_dummy', type : 'boolean', value : false, description : 'enable the dummy device')
|
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_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_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_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')
|
option('plugin_realtek_mst', type : 'boolean', value : true, description : 'enable Realtek MST hub support')
|
||||||
|
@ -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"']
|
cargs = ['-DG_LOG_DOMAIN="FuPluginFastboot"']
|
||||||
|
|
||||||
install_data(['fastboot.quirk'],
|
install_data(['fastboot.quirk'],
|
||||||
|
Loading…
Reference in New Issue
Block a user