OVMS3-idf/components/lwip/component.mk

46 lines
977 B
Makefile
Raw Normal View History

2016-08-17 17:08:22 +02:00
#
# Component Makefile
#
2018-09-06 13:43:08 +02:00
COMPONENT_SUBMODULES += lwip
2016-08-17 17:08:22 +02:00
COMPONENT_ADD_INCLUDEDIRS := \
2018-09-06 13:43:08 +02:00
include/apps \
include/apps/sntp \
2018-09-06 13:43:08 +02:00
lwip/src/include \
port/esp32/include \
port/esp32/include/arch \
include_compat \
port/esp32/tcp_isn
COMPONENT_SRCDIRS := \
2018-09-06 13:43:08 +02:00
apps/dhcpserver \
apps/ping \
apps/sntp \
2018-09-06 13:43:08 +02: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 \
port/esp32/debug
2016-08-17 17:08:22 +02:00
ifdef CONFIG_PPP_SUPPORT
COMPONENT_SRCDIRS += lwip/src/netif/ppp lwip/src/netif/ppp/polarssl
endif
ifdef CONFIG_LWIP_TCP_ISN_HOOK
COMPONENT_SRCDIRS += port/esp32/tcp_isn
endif
CFLAGS += -Wno-address # lots of LWIP source files evaluate macros that check address of stack variables
ifeq ($(GCC_NOT_5_2_0), 1)
lwip/src/netif/ppp/ppp.o: CFLAGS += -Wno-uninitialized
lwip/src/netif/ppp/pppos.o: CFLAGS += -Wno-implicit-fallthrough
endif
COMPONENT_ADD_LDFRAGMENTS += linker.lf