mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-10-31 15:11:40 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			30 lines
		
	
	
		
			683 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			683 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| #
 | |
| # Component Makefile
 | |
| #
 | |
| 
 | |
| COMPONENT_ADD_INCLUDEDIRS := \
 | |
| 	include/lwip \
 | |
| 	include/lwip/port \
 | |
| 	include/lwip/posix \
 | |
| 	apps/ping
 | |
| 
 | |
| ifdef CONFIG_PPP_SUPPORT
 | |
| LWIP_PPP_DIRS := netif/ppp/polarssl netif/ppp
 | |
| else
 | |
| LWIP_PPP_DIRS :=
 | |
| endif
 | |
| 
 | |
| COMPONENT_SRCDIRS := \
 | |
| 	api \
 | |
| 	apps apps/sntp apps/ping \
 | |
| 	core core/ipv4 core/ipv6 \
 | |
| 	$(LWIP_PPP_DIRS) netif \
 | |
| 	port/freertos port/netif port/debug port
 | |
| 
 | |
| 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
 | |
| 
 |