component.mk 432 B

123456789101112131415161718
  1. #
  2. # Component Makefile
  3. #
  4. COMPONENT_ADD_INCLUDEDIRS := include
  5. COMPONENT_SRCDIRS := src
  6. COMPONENT_ADD_LDFRAGMENTS += linker.lf
  7. ifndef CONFIG_ETH_USE_ESP32_EMAC
  8. COMPONENT_OBJEXCLUDE += src/esp_eth_mac_esp32.o
  9. endif
  10. ifndef CONFIG_ETH_SPI_ETHERNET_DM9051
  11. COMPONENT_OBJEXCLUDE += src/esp_eth_mac_dm9051.o src/esp_eth_phy_dm9051.o
  12. endif
  13. ifndef CONFIG_ETH_USE_OPENETH
  14. COMPONENT_OBJEXCLUDE += src/esp_eth_mac_openeth.o
  15. endif