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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user