aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorRocco Marco Guglielmi <roccomarco.guglielmi@gmail.com>2017-09-17 19:49:51 +0000
committerRocco Marco Guglielmi <roccomarco.guglielmi@gmail.com>2017-09-17 19:49:51 +0000
commit0d45b1da6ee631dfe581304ba8abd3994c4896a8 (patch)
tree79991d581f3e9fa3cd87cfaf543aeb1cd4e33e74 /os
parente27adadfb7e69ff1613fbc599091685661ec47a0 (diff)
downloadChibiOS-0d45b1da6ee631dfe581304ba8abd3994c4896a8.tar.gz
ChibiOS-0d45b1da6ee631dfe581304ba8abd3994c4896a8.tar.bz2
ChibiOS-0d45b1da6ee631dfe581304ba8abd3994c4896a8.zip
Fixed smart building for SAMA drivers
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10627 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-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