mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-07-18 01:31:48 +00:00
Only include SPI related files when (at least) one SPI driver is enabled
This commit is contained in:
@@ -8,11 +8,12 @@ libnfcbuses_la_CFLAGS = -I$(top_srcdir)/libnfc
|
||||
libnfcbuses_la_LIBADD =
|
||||
EXTRA_DIST =
|
||||
|
||||
# SPI_ENABLED
|
||||
if SPI_ENABLED
|
||||
libnfcbuses_la_SOURCES += spi.c spi.h
|
||||
libnfcbuses_la_CFLAGS +=
|
||||
libnfcbuses_la_LIBADD +=
|
||||
EXTRA_DIST = spi_posix.c
|
||||
endif
|
||||
EXTRA_DIST = spi.c spi.h
|
||||
|
||||
if UART_ENABLED
|
||||
libnfcbuses_la_SOURCES += uart.c uart.h
|
||||
|
||||
Reference in New Issue
Block a user