File tree 1 file changed +9
-3
lines changed
config/esp32/components/chip
1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -371,9 +371,10 @@ endif()
371
371
if (CONFIG_OPENTHREAD_ENABLED)
372
372
idf_component_get_property(openthread_lib openthread COMPONENT_LIB)
373
373
list (APPEND chip_libraries $<TARGET_FILE:${openthread_lib} >)
374
-
375
- idf_component_get_property(ieee802154_lib ieee802154 COMPONENT_LIB)
376
- list (APPEND chip_libraries $<TARGET_FILE:${ieee802154_lib} >)
374
+ if (CONFIG_IEEE802154_ENABLED)
375
+ idf_component_get_property(ieee802154_lib ieee802154 COMPONENT_LIB)
376
+ list (APPEND chip_libraries $<TARGET_FILE:${ieee802154_lib} >)
377
+ endif ()
377
378
endif ()
378
379
379
380
if ((NOT CONFIG_USE_MINIMAL_MDNS) AND (CONFIG_ENABLE_WIFI_STATION OR CONFIG_ENABLE_WIFI_AP))
@@ -423,6 +424,11 @@ if (CONFIG_ESP32_WIFI_ENABLED)
423
424
list (APPEND chip_libraries $<TARGET_FILE:${wpa_supplicant_lib} >)
424
425
endif ()
425
426
427
+ if (CONFIG_ETH_ENABLED)
428
+ idf_component_get_property(esp_eth_lib esp_eth COMPONENT_LIB)
429
+ list (APPEND chip_libraries $<TARGET_FILE:${esp_eth_lib} >)
430
+ endif ()
431
+
426
432
idf_component_get_property(esp_netif_lib esp_netif COMPONENT_LIB)
427
433
list (APPEND chip_libraries $<TARGET_FILE:${esp_netif_lib} >)
428
434
You can’t perform that action at this time.
0 commit comments