diff options
author | Damien George <damien.p.george@gmail.com> | 2016-01-01 16:12:39 +0000 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-03-11 12:00:01 +0700 |
commit | 932f07ccf5efc9938d1f030e17e13a8bf4f72e52 (patch) | |
tree | 546dc2c4e4260a93a4c75ecf2b29780bf15777c5 | |
parent | 4c2cb7e384c96ab36144a616e2bdfe8d6dd0d867 (diff) |
esp8266: Rejig Makefile so extmod/modlwip.o is placed under build/.
-rw-r--r-- | esp8266/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/esp8266/Makefile b/esp8266/Makefile index 5eb2194e1..04b620be5 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 |