component.mk 909 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. COMPONENT_SRCDIRS := \
  12. apps/dhcpserver \
  13. apps/ping \
  14. apps/sntp \
  15. lwip/src/api \
  16. lwip/src/apps/sntp \
  17. lwip/src/core \
  18. lwip/src/core/ipv4 \
  19. lwip/src/core/ipv6 \
  20. lwip/src/netif \
  21. port/esp32 \
  22. port/esp32/freertos \
  23. port/esp32/netif \
  24. port/esp32/debug
  25. ifdef CONFIG_LWIP_PPP_SUPPORT
  26. COMPONENT_SRCDIRS += lwip/src/netif/ppp lwip/src/netif/ppp/polarssl
  27. endif
  28. CFLAGS += -Wno-address # lots of LWIP source files evaluate macros that check address of stack variables
  29. ifeq ($(GCC_NOT_5_2_0), 1)
  30. lwip/src/netif/ppp/ppp.o: CFLAGS += -Wno-uninitialized
  31. lwip/src/netif/ppp/pppos.o: CFLAGS += -Wno-implicit-fallthrough
  32. endif
  33. lwip/src/core/tcp.o: CFLAGS += -Wno-type-limits
  34. COMPONENT_ADD_LDFRAGMENTS += linker.lf