linker script paths: don't hardcode the path

While some of the examples include a "board.ld" style file, some of them were
pointing to the libopencm3 provided chip specific ld scripts.  When
TOOLCHAIN_DIR has been overridden, those paths were no longer valid/correct.
This commit is contained in:
Karl Palsson
2014-01-03 21:54:34 +00:00
parent 5bafa042c5
commit cc800be89a
6 changed files with 6 additions and 6 deletions

View File

@@ -18,7 +18,7 @@
##
BINARY = adc-dac-printf
LDSCRIPT = ../../../../../libopencm3/lib/stm32/f1/stm32f100xb.ld
LDSCRIPT = $(TOOLCHAIN_DIR)/lib/stm32/f1/stm32f100xb.ld
include ../../Makefile.include

View File

@@ -18,7 +18,7 @@
##
BINARY = main
LDSCRIPT = ../../../../../libopencm3/lib/stm32/l1/stm32l15xxb.ld
LDSCRIPT = $(TOOLCHAIN_DIR)/lib/stm32/l1/stm32l15xxb.ld
include ../../Makefile.include

View File

@@ -18,7 +18,7 @@
##
BINARY = main
LDSCRIPT = ../../../../../libopencm3/lib/stm32/l1/stm32l15xxb.ld
LDSCRIPT = $(TOOLCHAIN_DIR)/lib/stm32/l1/stm32l15xxb.ld
include ../../Makefile.include

View File

@@ -19,7 +19,7 @@
BINARY = miniblink
LDSCRIPT = ../../../../../libopencm3/lib/stm32/l1/stm32l15xxb.ld
LDSCRIPT = $(TOOLCHAIN_DIR)/lib/stm32/l1/stm32l15xxb.ld
include ../../Makefile.include

View File

@@ -19,7 +19,7 @@
BINARY = usart-semihosting
LDSCRIPT = ../../../../../libopencm3/lib/stm32/l1/stm32l15xxb.ld
LDSCRIPT = $(TOOLCHAIN_DIR)/lib/stm32/l1/stm32l15xxb.ld
# To disable, run "make ENABLE_SEMIHOSTING=0" or comment next line out
ENABLE_SEMIHOSTING ?= 1

View File

@@ -19,7 +19,7 @@
BINARY = usart
LDSCRIPT = ../../../../../libopencm3/lib/stm32/l1/stm32l15xxb.ld
LDSCRIPT = $(TOOLCHAIN_DIR)/lib/stm32/l1/stm32l15xxb.ld
include ../../Makefile.include