component.mk 1013 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. #
  2. # Component Makefile
  3. #
  4. COMPONENT_SUBMODULES += lwip
  5. COMPONENT_ADD_INCLUDEDIRS := \
  6. include/apps \
  7. include/apps/sntp \
  8. lwip/src/include \
  9. port/esp32/include \
  10. port/esp32/include/arch \
  11. port/esp32/tcp_isn
  12. COMPONENT_SRCDIRS := \
  13. apps/dhcpserver \
  14. apps/ping \
  15. apps/sntp \
  16. lwip/src/api \
  17. lwip/src/apps/sntp \
  18. lwip/src/core \
  19. lwip/src/core/ipv4 \
  20. lwip/src/core/ipv6 \
  21. lwip/src/netif \
  22. port/esp32 \
  23. port/esp32/freertos \
  24. port/esp32/netif \
  25. port/esp32/debug
  26. ifdef CONFIG_LWIP_PPP_SUPPORT
  27. COMPONENT_SRCDIRS += lwip/src/netif/ppp lwip/src/netif/ppp/polarssl
  28. endif
  29. ifdef CONFIG_LWIP_TCP_ISN_HOOK
  30. COMPONENT_SRCDIRS += port/esp32/tcp_isn
  31. endif
  32. CFLAGS += -Wno-address # lots of LWIP source files evaluate macros that check address of stack variables
  33. ifeq ($(GCC_NOT_5_2_0), 1)
  34. lwip/src/netif/ppp/ppp.o: CFLAGS += -Wno-uninitialized
  35. lwip/src/netif/ppp/pppos.o: CFLAGS += -Wno-implicit-fallthrough
  36. endif
  37. lwip/src/core/tcp.o: CFLAGS += -Wno-type-limits
  38. COMPONENT_ADD_LDFRAGMENTS += linker.lf