From 0d45b1da6ee631dfe581304ba8abd3994c4896a8 Mon Sep 17 00:00:00 2001 From: Rocco Marco Guglielmi Date: Sun, 17 Sep 2017 19:49:51 +0000 Subject: Fixed smart building for SAMA drivers git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10627 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/SAMA/LLD/SPIv1/driver.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'os/hal') 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 -- cgit v1.2.3