33 lines
741 B
Makefile
33 lines
741 B
Makefile
#
|
|
# Component Makefile
|
|
#
|
|
COMPONENT_SUBMODULES += lwip
|
|
|
|
COMPONENT_ADD_INCLUDEDIRS := \
|
|
include/apps \
|
|
lwip/src/include \
|
|
port/esp32/include \
|
|
port/esp32/include/arch
|
|
|
|
COMPONENT_SRCDIRS := \
|
|
apps/dhcpserver \
|
|
apps/ping \
|
|
lwip/src/api \
|
|
lwip/src/apps/sntp \
|
|
lwip/src/core \
|
|
lwip/src/core/ipv4 \
|
|
lwip/src/core/ipv6 \
|
|
lwip/src/netif \
|
|
lwip/src/netif/ppp \
|
|
port/esp32 \
|
|
port/esp32/freertos \
|
|
port/esp32/netif \
|
|
port/esp32/debug
|
|
|
|
CFLAGS += -Wno-address # lots of LWIP source files evaluate macros that check address of stack variables
|
|
|
|
api/tcpip.o apps/dhcpserver.o: CFLAGS += -Wno-unused-variable
|
|
apps/dhcpserver.o core/pbuf.o core/tcp_in.o: CFLAGS += -Wno-unused-but-set-variable
|
|
netif/ppp/pppos.o: CFLAGS += -Wno-type-limits
|
|
|