component.mk 977 B

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