From d976e4f5e805ae7678dac9553846b738f80ba79e Mon Sep 17 00:00:00 2001 From: Damien George Date: Tue, 12 Feb 2019 15:12:24 +1100 Subject: [PATCH] teensy/Makefile: Use common gchelper_m3.s code from lib/utils. --- ports/teensy/Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/ports/teensy/Makefile b/ports/teensy/Makefile index 08ecf0f913..663a86fabd 100644 --- a/ports/teensy/Makefile +++ b/ports/teensy/Makefile @@ -98,10 +98,6 @@ STM_SRC_C = $(addprefix ports/stm32/,\ pin_named_pins.c \ ) -STM_SRC_S = $(addprefix ports/stm32/,\ - gchelper.s \ - ) - LIB_SRC_C = $(addprefix lib/,\ libc/string0.c \ mp-readline/readline.c \ @@ -120,8 +116,9 @@ SRC_TEENSY = $(addprefix core/,\ yield.c \ ) -OBJ = $(PY_O) $(addprefix $(BUILD)/, $(SRC_C:.c=.o) $(STM_SRC_C:.c=.o) $(STM_SRC_S:.s=.o) $(SRC_TEENSY:.c=.o)) +OBJ = $(PY_O) $(addprefix $(BUILD)/, $(SRC_C:.c=.o) $(STM_SRC_C:.c=.o) $(SRC_TEENSY:.c=.o)) OBJ += $(addprefix $(BUILD)/, $(LIB_SRC_C:.c=.o)) +OBJ += $(BUILD)/lib/utils/gchelper_m3.o OBJ += $(BUILD)/pins_gen.o all: hex