summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--esp8266/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/esp8266/Makefile b/esp8266/Makefile
index 5eb2194e1f..04b620be5b 100644
--- a/esp8266/Makefile
+++ b/esp8266/Makefile
@@ -68,12 +68,15 @@ SRC_C = \
utils.c \
ets_alt_task.c \
$(BUILD)/frozen.c \
- ../extmod/modlwip.o \
STM_SRC_C = $(addprefix stmhal/,\
pybstdio.c \
)
+EXTMOD_SRC_C = $(addprefix extmod/,\
+ modlwip.o \
+ )
+
LIB_SRC_C = $(addprefix lib/,\
libc/string0.c \
libm/math.c \
@@ -109,6 +112,7 @@ OBJ += $(PY_O)
OBJ += $(addprefix $(BUILD)/, $(SRC_C:.c=.o))
OBJ += $(addprefix $(BUILD)/, $(SRC_S:.s=.o))
OBJ += $(addprefix $(BUILD)/, $(STM_SRC_C:.c=.o))
+OBJ += $(addprefix $(BUILD)/, $(EXTMOD_SRC_C:.c=.o))
OBJ += $(addprefix $(BUILD)/, $(LIB_SRC_C:.c=.o))
#OBJ += $(BUILD)/pins_$(BOARD).o