mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
build: Generalize spi drivers detection
Don't be limited to elan only
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
spi_sources = []
|
||||
spi_headers = []
|
||||
|
||||
if 'elanspi' in drivers
|
||||
if enabled_spi_drivers.length() > 0
|
||||
spi_headers = ['fpi-spi-transfer.h']
|
||||
spi_sources = ['fpi-spi-transfer.c']
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user