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