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
|
||||
|
||||
LDSCRIPT = ../../../../../libopencm3/lib/stm32/l1/stm32l15xxb.ld
|
||||
LDSCRIPT = $(TOOLCHAIN_DIR)/lib/stm32/l1/stm32l15xxb.ld
|
||||
|
||||
include ../../Makefile.include
|
||||
|
||||
|
||||
Reference in New Issue
Block a user