mirror of
https://github.com/espressif/esp-idf.git
synced 2025-12-29 05:59:28 +00:00
IDF_BUILD_V2 does not have BUILD_COMPONENTS build property. Therefore, when IDF_BUILD_V2 is defined, use a generator expressions instead. The inclusion of esp_eth_netif_glue.c, which relies on the presence of the esp_netif component, should ideally be managed by a configuration option. The same applies to the requirements for esp_eth. Currently, only a basic adjustment has been made to enable the inclusion of esp_eth in cmakev2. Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>