aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32L1xx/SPI
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-02-26 09:25:35 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-02-26 09:25:35 +0000
commitb0610b61ecafcd9e72b88bc8ec392480a593977e (patch)
treea2cba86c9e89cda8ee6fa28381bb1817674a04e2 /testhal/STM32L1xx/SPI
parent3905e05414651361cd6589eddb93899d12f35839 (diff)
downloadChibiOS-b0610b61ecafcd9e72b88bc8ec392480a593977e.tar.gz
ChibiOS-b0610b61ecafcd9e72b88bc8ec392480a593977e.tar.bz2
ChibiOS-b0610b61ecafcd9e72b88bc8ec392480a593977e.zip
Added linker options to makefiles.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6727 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32L1xx/SPI')
-rw-r--r--testhal/STM32L1xx/SPI/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/testhal/STM32L1xx/SPI/Makefile b/testhal/STM32L1xx/SPI/Makefile
index 082ac95a8..ad1bb67f8 100644
--- a/testhal/STM32L1xx/SPI/Makefile
+++ b/testhal/STM32L1xx/SPI/Makefile
@@ -23,6 +23,11 @@ ifeq ($(USE_LINK_GC),)
USE_LINK_GC = yes
endif
+# Linker extra options here.
+ifeq ($(USE_LDOPT),)
+ USE_LDOPT =
+endif
+
# Enable this if you want link time optimizations (LTO)
ifeq ($(USE_LTO),)
USE_LTO = yes