From b0610b61ecafcd9e72b88bc8ec392480a593977e Mon Sep 17 00:00:00 2001 From: gdisirio Date: Wed, 26 Feb 2014 09:25:35 +0000 Subject: 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 --- demos/nil/NIL-STM32F051-DISCOVERY/Makefile | 5 +++++ demos/nil/NIL-STM32F100-DISCOVERY/Makefile | 5 +++++ demos/nil/NIL-STM32F303-DISCOVERY/Makefile | 5 +++++ demos/nil/NIL-STM32F373-STM32373C_EVAL/Makefile | 5 +++++ demos/nil/NIL-STM32L152-DISCOVERY/Makefile | 5 +++++ demos/rt/RT-SPC56EC-EVB/Makefile | 5 +++++ demos/rt/RT-SPC56EL-EVB/Makefile | 5 +++++ demos/rt/RT-STM32F051-DISCOVERY/Makefile | 5 +++++ demos/rt/RT-STM32F100-DISCOVERY/Makefile | 5 +++++ demos/rt/RT-STM32F103-OLIMEX_STM32_P103/Makefile | 5 +++++ demos/rt/RT-STM32F303-DISCOVERY/Makefile | 5 +++++ demos/rt/RT-STM32F373-STM32373C_EVAL/Makefile | 5 +++++ demos/rt/RT-STM32F407-DISCOVERY-MEMS/Makefile | 5 +++++ demos/rt/RT-STM32F407-DISCOVERY/Makefile | 5 +++++ demos/rt/RT-STM32F429-DISCOVERY/Makefile | 5 +++++ demos/rt/RT-STM32L152-DISCOVERY/Makefile | 5 +++++ 16 files changed, 80 insertions(+) (limited to 'demos') diff --git a/demos/nil/NIL-STM32F051-DISCOVERY/Makefile b/demos/nil/NIL-STM32F051-DISCOVERY/Makefile index 3c5d687bf..c759b4983 100644 --- a/demos/nil/NIL-STM32F051-DISCOVERY/Makefile +++ b/demos/nil/NIL-STM32F051-DISCOVERY/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 diff --git a/demos/nil/NIL-STM32F100-DISCOVERY/Makefile b/demos/nil/NIL-STM32F100-DISCOVERY/Makefile index 986130e3d..781dc5b8c 100644 --- a/demos/nil/NIL-STM32F100-DISCOVERY/Makefile +++ b/demos/nil/NIL-STM32F100-DISCOVERY/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 diff --git a/demos/nil/NIL-STM32F303-DISCOVERY/Makefile b/demos/nil/NIL-STM32F303-DISCOVERY/Makefile index 5a95ab821..1305d814d 100644 --- a/demos/nil/NIL-STM32F303-DISCOVERY/Makefile +++ b/demos/nil/NIL-STM32F303-DISCOVERY/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 diff --git a/demos/nil/NIL-STM32F373-STM32373C_EVAL/Makefile b/demos/nil/NIL-STM32F373-STM32373C_EVAL/Makefile index aa0022ec6..e9d20f188 100644 --- a/demos/nil/NIL-STM32F373-STM32373C_EVAL/Makefile +++ b/demos/nil/NIL-STM32F373-STM32373C_EVAL/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 diff --git a/demos/nil/NIL-STM32L152-DISCOVERY/Makefile b/demos/nil/NIL-STM32L152-DISCOVERY/Makefile index ecbb27bda..c65d730f3 100644 --- a/demos/nil/NIL-STM32L152-DISCOVERY/Makefile +++ b/demos/nil/NIL-STM32L152-DISCOVERY/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 diff --git a/demos/rt/RT-SPC56EC-EVB/Makefile b/demos/rt/RT-SPC56EC-EVB/Makefile index bd8d1bdb0..9e22b5f89 100644 --- a/demos/rt/RT-SPC56EC-EVB/Makefile +++ b/demos/rt/RT-SPC56EC-EVB/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 = no diff --git a/demos/rt/RT-SPC56EL-EVB/Makefile b/demos/rt/RT-SPC56EL-EVB/Makefile index 1ea40628e..64dbd359a 100644 --- a/demos/rt/RT-SPC56EL-EVB/Makefile +++ b/demos/rt/RT-SPC56EL-EVB/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 = no diff --git a/demos/rt/RT-STM32F051-DISCOVERY/Makefile b/demos/rt/RT-STM32F051-DISCOVERY/Makefile index fbc396007..868a54208 100644 --- a/demos/rt/RT-STM32F051-DISCOVERY/Makefile +++ b/demos/rt/RT-STM32F051-DISCOVERY/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 diff --git a/demos/rt/RT-STM32F100-DISCOVERY/Makefile b/demos/rt/RT-STM32F100-DISCOVERY/Makefile index fc07197da..47f870931 100644 --- a/demos/rt/RT-STM32F100-DISCOVERY/Makefile +++ b/demos/rt/RT-STM32F100-DISCOVERY/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 diff --git a/demos/rt/RT-STM32F103-OLIMEX_STM32_P103/Makefile b/demos/rt/RT-STM32F103-OLIMEX_STM32_P103/Makefile index e235f2888..99e45e27f 100644 --- a/demos/rt/RT-STM32F103-OLIMEX_STM32_P103/Makefile +++ b/demos/rt/RT-STM32F103-OLIMEX_STM32_P103/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 diff --git a/demos/rt/RT-STM32F303-DISCOVERY/Makefile b/demos/rt/RT-STM32F303-DISCOVERY/Makefile index a271b19d6..6a37ca713 100644 --- a/demos/rt/RT-STM32F303-DISCOVERY/Makefile +++ b/demos/rt/RT-STM32F303-DISCOVERY/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 diff --git a/demos/rt/RT-STM32F373-STM32373C_EVAL/Makefile b/demos/rt/RT-STM32F373-STM32373C_EVAL/Makefile index dbe974aaa..d8a5decbb 100644 --- a/demos/rt/RT-STM32F373-STM32373C_EVAL/Makefile +++ b/demos/rt/RT-STM32F373-STM32373C_EVAL/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 diff --git a/demos/rt/RT-STM32F407-DISCOVERY-MEMS/Makefile b/demos/rt/RT-STM32F407-DISCOVERY-MEMS/Makefile index 3e182d0d3..40d1281d3 100644 --- a/demos/rt/RT-STM32F407-DISCOVERY-MEMS/Makefile +++ b/demos/rt/RT-STM32F407-DISCOVERY-MEMS/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 diff --git a/demos/rt/RT-STM32F407-DISCOVERY/Makefile b/demos/rt/RT-STM32F407-DISCOVERY/Makefile index 5bca8ad18..22f912bde 100644 --- a/demos/rt/RT-STM32F407-DISCOVERY/Makefile +++ b/demos/rt/RT-STM32F407-DISCOVERY/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 diff --git a/demos/rt/RT-STM32F429-DISCOVERY/Makefile b/demos/rt/RT-STM32F429-DISCOVERY/Makefile index a66330b47..8374a9aa8 100644 --- a/demos/rt/RT-STM32F429-DISCOVERY/Makefile +++ b/demos/rt/RT-STM32F429-DISCOVERY/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 diff --git a/demos/rt/RT-STM32L152-DISCOVERY/Makefile b/demos/rt/RT-STM32L152-DISCOVERY/Makefile index 0b4ab5698..5d6cb1bbd 100644 --- a/demos/rt/RT-STM32L152-DISCOVERY/Makefile +++ b/demos/rt/RT-STM32L152-DISCOVERY/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 -- cgit v1.2.3