component.mk 683 B

1234567891011121314151617181920212223242526272829
  1. #
  2. # Component Makefile
  3. #
  4. COMPONENT_ADD_INCLUDEDIRS := \
  5. include/lwip \
  6. include/lwip/port \
  7. include/lwip/posix \
  8. apps/ping
  9. ifdef CONFIG_PPP_SUPPORT
  10. LWIP_PPP_DIRS := netif/ppp/polarssl netif/ppp
  11. else
  12. LWIP_PPP_DIRS :=
  13. endif
  14. COMPONENT_SRCDIRS := \
  15. api \
  16. apps apps/sntp apps/ping \
  17. core core/ipv4 core/ipv6 \
  18. $(LWIP_PPP_DIRS) netif \
  19. port/freertos port/netif port/debug port
  20. CFLAGS += -Wno-address # lots of LWIP source files evaluate macros that check address of stack variables
  21. api/tcpip.o apps/dhcpserver.o: CFLAGS += -Wno-unused-variable
  22. apps/dhcpserver.o core/pbuf.o core/tcp_in.o: CFLAGS += -Wno-unused-but-set-variable
  23. netif/ppp/pppos.o: CFLAGS += -Wno-type-limits