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