2016-08-17 15:08:22 +00:00
|
|
|
#
|
|
|
|
# Component Makefile
|
|
|
|
#
|
|
|
|
|
2017-04-25 09:22:09 +00:00
|
|
|
COMPONENT_ADD_INCLUDEDIRS := \
|
|
|
|
include/lwip \
|
|
|
|
include/lwip/port \
|
|
|
|
include/lwip/posix \
|
|
|
|
apps/ping
|
2016-08-17 15:08:22 +00:00
|
|
|
|
2017-04-25 09:22:09 +00:00
|
|
|
ifdef CONFIG_PPP_SUPPORT
|
|
|
|
LWIP_PPP_DIRS := netif/ppp/polarssl netif/ppp
|
|
|
|
endif
|
|
|
|
|
|
|
|
COMPONENT_SRCDIRS := \
|
|
|
|
api \
|
2017-05-22 01:44:41 +00:00
|
|
|
apps apps/sntp apps/ping \
|
|
|
|
core core/ipv4 core/ipv6 \
|
2017-04-25 09:22:09 +00:00
|
|
|
$(LWIP_PPP_DIRS) netif \
|
|
|
|
port/freertos port/netif port/debug port
|
2016-08-17 15:08:22 +00:00
|
|
|
|
2016-12-06 18:52:40 +00:00
|
|
|
CFLAGS += -Wno-address # lots of LWIP source files evaluate macros that check address of stack variables
|
2016-08-17 15:08:22 +00:00
|
|
|
|
2016-12-06 18:52:40 +00:00
|
|
|
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
|
2017-01-20 11:05:38 +00:00
|
|
|
netif/ppp/pppos.o: CFLAGS += -Wno-type-limits
|
|
|
|
|