esp8266: Rejig Makefile so extmod/modlwip.o is placed under build/.

This commit is contained in:
Damien George 2016-01-01 16:12:39 +00:00 committed by Paul Sokolovsky
parent 4c2cb7e384
commit 932f07ccf5
1 changed files with 5 additions and 1 deletions

View File

@ -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