mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
Don't build SPI driver on non-Linux
Doesn't build on other operating systems. With auto-detection we don't have to manually select all other drivers. Signed-off-by: Daniel Schaefer <dhs@frame.work>
This commit is contained in:
committed by
Marco Trevisan (Treviño)
parent
c84d3774cf
commit
10e1cd76aa
@@ -135,11 +135,13 @@ default_drivers = [
|
||||
'fpcmoc',
|
||||
'realtek',
|
||||
'focaltech_moc',
|
||||
|
||||
# SPI
|
||||
'elanspi',
|
||||
]
|
||||
|
||||
# SPI
|
||||
if host_machine.system() == 'linux'
|
||||
default_drivers += ['elanspi']
|
||||
endif
|
||||
|
||||
# FIXME: All the drivers should be fixed by adjusting the byte order.
|
||||
# See https://gitlab.freedesktop.org/libfprint/libfprint/-/issues/236
|
||||
endian_independent_drivers = virtual_drivers + [
|
||||
|
||||
Reference in New Issue
Block a user