mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
esp_netif/lwip: Fix deps cycles to "lwip -> esp_netif -> phy-drivers"
Fix dependency tree so that lwip doesn't depend on any specific network interface component. Network interface drivers shall depend on esp_netif. esp_netif shall depend on lwip (but not on any specific interface driver) -- it optionally depends on vfs and esp_eth (need ethernet header for L2/bridge mode)
This commit is contained in:
@@ -11,12 +11,7 @@ if(${target} STREQUAL "linux")
|
||||
# Temporary fix until esp_system is available for linux, too
|
||||
list(APPEND priv_include_dirs "$ENV{IDF_PATH}/tools/mocks/esp_system/include")
|
||||
else()
|
||||
list(APPEND requires "esp_netif")
|
||||
if(${target} STREQUAL "esp32")
|
||||
list(APPEND priv_requires esp_eth esp_timer)
|
||||
else()
|
||||
list(APPEND priv_requires esp_timer)
|
||||
endif()
|
||||
list(APPEND priv_requires esp_timer)
|
||||
endif()
|
||||
|
||||
idf_component_register(SRCS ${srcs}
|
||||
|
||||
Reference in New Issue
Block a user