blob: 961e7108ef90cfe16f57ab49d04be58b92ca7666 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# List of the required lwIP files.
LWIPDIR = $(CHIBIOS)/ext/lwip/src
# The various blocks of files are outlined in Filelists.mk.
include $(LWIPDIR)/Filelists.mk
LWBINDSRC = \
$(CHIBIOS)/os/various/lwip_bindings/lwipthread.c \
$(CHIBIOS)/os/various/lwip_bindings/arch/sys_arch.c
# Add blocks of files from Filelists.mk as required for enabled options
LWSRC_REQUIRED = $(COREFILES) $(CORE4FILES) $(APIFILES) $(LWBINDSRC) $(NETIFFILES)
LWSRC_EXTRAS ?= $(HTTPFILES)
LWINC = \
$(CHIBIOS)/os/various/lwip_bindings \
$(LWIPDIR)/include
# Shared variables
ALLCSRC += $(LWSRC_REQUIRED) $(LWSRC_EXTRAS)
ALLINC += $(LWINC) \
$(CHIBIOS)/os/various
|