aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George2019-02-12 15:12:24 +1100
committerDamien George2019-02-12 15:12:24 +1100
commitd976e4f5e805ae7678dac9553846b738f80ba79e (patch)
treefadc85ac24e3f13f7e5367aab9f1729e2e31af04
parent5368210e36f1d05efb0ea2c09661ebc80688880b (diff)
teensy/Makefile: Use common gchelper_m3.s code from lib/utils.
-rw-r--r--ports/teensy/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/ports/teensy/Makefile b/ports/teensy/Makefile
index 08ecf0f91..663a86fab 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