From 19d5aafd10fc24c715de99ed532beb601a6bc62a Mon Sep 17 00:00:00 2001 From: Fredrik Johansson Date: Tue, 2 Jul 2019 19:02:57 +0200 Subject: [PATCH] Allow custom link script --- Teensy.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Teensy.mk b/Teensy.mk index d4f23bc..35107ac 100644 --- a/Teensy.mk +++ b/Teensy.mk @@ -114,7 +114,7 @@ LDFLAGS += $(call PARSE_BOARD,$(BOARD_TAG),build.flags.cpu) AMCU := $(call PARSE_BOARD,$(BOARD_TAG),build.mcu) LDFLAGS += -Wl,--gc-sections,--relax -LINKER_SCRIPTS = -T${ARDUINO_CORE_PATH}/${AMCU}.ld +LINKER_SCRIPTS ?= -T${ARDUINO_CORE_PATH}/${AMCU}.ld OTHER_LIBS = $(call PARSE_BOARD,$(BOARD_TAG),build.flags.libs) CPUFLAGS = $(call PARSE_BOARD,$(BOARD_TAG),build.flags.cpu)