mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-08 18:14:44 +00:00
trivial: make building plugins without gudev more obvious failures
This commit is contained in:
parent
096e3cfbb6
commit
767c29e2cc
@ -37,16 +37,25 @@ endif
|
|||||||
# depends on dfu
|
# depends on dfu
|
||||||
subdir('csr')
|
subdir('csr')
|
||||||
|
|
||||||
if get_option('plugin_tpm') and get_option('gudev')
|
if get_option('plugin_tpm')
|
||||||
|
if not get_option('gudev')
|
||||||
|
error('gudev is required for plugin_tpm')
|
||||||
|
endif
|
||||||
subdir('tpm')
|
subdir('tpm')
|
||||||
subdir('tpm-eventlog')
|
subdir('tpm-eventlog')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if get_option('plugin_emmc') and get_option('gudev')
|
if get_option('plugin_emmc')
|
||||||
|
if not get_option('gudev')
|
||||||
|
error('gudev is required for plugin_emmc')
|
||||||
|
endif
|
||||||
subdir('emmc')
|
subdir('emmc')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if get_option('plugin_nvme') and get_option('gudev')
|
if get_option('plugin_nvme')
|
||||||
|
if not get_option('gudev')
|
||||||
|
error('gudev is required for plugin_nvme')
|
||||||
|
endif
|
||||||
subdir('nvme')
|
subdir('nvme')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -54,7 +63,10 @@ if get_option('plugin_modem_manager')
|
|||||||
subdir('modem-manager')
|
subdir('modem-manager')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if get_option('plugin_altos') and get_option('gudev')
|
if get_option('plugin_altos')
|
||||||
|
if not get_option('gudev')
|
||||||
|
error('gudev is required for plugin_altos')
|
||||||
|
endif
|
||||||
subdir('altos')
|
subdir('altos')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -62,7 +74,10 @@ if get_option('plugin_amt')
|
|||||||
subdir('amt')
|
subdir('amt')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if get_option('plugin_thunderbolt') and get_option('gudev')
|
if get_option('plugin_thunderbolt')
|
||||||
|
if not get_option('gudev')
|
||||||
|
error('gudev is required for plugin_thunderbolt')
|
||||||
|
endif
|
||||||
subdir('thunderbolt')
|
subdir('thunderbolt')
|
||||||
subdir('thunderbolt-power')
|
subdir('thunderbolt-power')
|
||||||
endif
|
endif
|
||||||
@ -76,7 +91,10 @@ subdir('dell')
|
|||||||
subdir('dell-esrt')
|
subdir('dell-esrt')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if get_option('plugin_synaptics') and get_option('gudev')
|
if get_option('plugin_synaptics')
|
||||||
|
if not get_option('gudev')
|
||||||
|
error('gudev is required for plugin_synaptics_mst')
|
||||||
|
endif
|
||||||
subdir('synaptics-mst')
|
subdir('synaptics-mst')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user