2016-08-17 11:08:22 -04:00
|
|
|
#
|
|
|
|
# Component Makefile
|
|
|
|
#
|
2018-09-06 07:43:08 -04:00
|
|
|
COMPONENT_SUBMODULES += lwip
|
2016-08-17 11:08:22 -04:00
|
|
|
|
2017-04-25 05:22:09 -04:00
|
|
|
COMPONENT_ADD_INCLUDEDIRS := \
|
2018-09-06 07:43:08 -04:00
|
|
|
include/apps \
|
2019-03-01 13:12:11 -05:00
|
|
|
include/apps/sntp \
|
2018-09-06 07:43:08 -04:00
|
|
|
lwip/src/include \
|
|
|
|
port/esp32/include \
|
2020-10-15 09:40:11 -04:00
|
|
|
port/esp32/include/arch \
|
|
|
|
port/esp32/tcp_isn
|
2017-04-25 05:22:09 -04:00
|
|
|
|
|
|
|
COMPONENT_SRCDIRS := \
|
2018-09-06 07:43:08 -04:00
|
|
|
apps/dhcpserver \
|
|
|
|
apps/ping \
|
2019-03-01 13:12:11 -05:00
|
|
|
apps/sntp \
|
2018-09-06 07:43:08 -04:00
|
|
|
lwip/src/api \
|
|
|
|
lwip/src/apps/sntp \
|
|
|
|
lwip/src/core \
|
|
|
|
lwip/src/core/ipv4 \
|
|
|
|
lwip/src/core/ipv6 \
|
|
|
|
lwip/src/netif \
|
|
|
|
port/esp32 \
|
|
|
|
port/esp32/freertos \
|
|
|
|
port/esp32/netif \
|
2018-09-06 08:23:20 -04:00
|
|
|
port/esp32/debug
|
2016-08-17 11:08:22 -04:00
|
|
|
|
2019-04-29 08:30:13 -04:00
|
|
|
ifdef CONFIG_LWIP_PPP_SUPPORT
|
2018-09-06 08:23:20 -04:00
|
|
|
COMPONENT_SRCDIRS += lwip/src/netif/ppp lwip/src/netif/ppp/polarssl
|
|
|
|
endif
|
2017-01-20 06:05:38 -05:00
|
|
|
|
2020-10-15 09:40:11 -04:00
|
|
|
ifdef CONFIG_LWIP_TCP_ISN_HOOK
|
|
|
|
COMPONENT_SRCDIRS += port/esp32/tcp_isn
|
|
|
|
endif
|
|
|
|
|
2018-09-06 08:23:20 -04:00
|
|
|
CFLAGS += -Wno-address # lots of LWIP source files evaluate macros that check address of stack variables
|
2018-08-29 23:24:34 -04:00
|
|
|
|
|
|
|
ifeq ($(GCC_NOT_5_2_0), 1)
|
2018-09-07 09:37:27 -04:00
|
|
|
lwip/src/netif/ppp/ppp.o: CFLAGS += -Wno-uninitialized
|
|
|
|
lwip/src/netif/ppp/pppos.o: CFLAGS += -Wno-implicit-fallthrough
|
|
|
|
endif
|
2019-02-13 02:57:11 -05:00
|
|
|
|
2019-10-18 11:01:49 -04:00
|
|
|
lwip/src/core/tcp.o: CFLAGS += -Wno-type-limits
|
|
|
|
|
2019-02-13 02:57:11 -05:00
|
|
|
COMPONENT_ADD_LDFRAGMENTS += linker.lf
|