aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os/hal/ports/SAMA/LLD/SPIv1/driver.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/os/hal/ports/SAMA/LLD/SPIv1/driver.mk b/os/hal/ports/SAMA/LLD/SPIv1/driver.mk
index cafe59fb8..3de7158d8 100644
--- a/os/hal/ports/SAMA/LLD/SPIv1/driver.mk
+++ b/os/hal/ports/SAMA/LLD/SPIv1/driver.mk
@@ -1,6 +1,7 @@
ifeq ($(USE_SMART_BUILD),yes)
ifneq ($(findstring HAL_USE_SPI TRUE,$(HALCONF)),)
PLATFORMSRC += $(CHIBIOS)/os/hal/ports/SAMA/LLD/SPIv1/hal_spi_lld.c
+endif
else
PLATFORMSRC += $(CHIBIOS)/os/hal/ports/SAMA/LLD/SPIv1/hal_spi_lld.c
endif