mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
Merge branch 'task/buildv2_hygiene_and_dep_declarations_v6.1' into 'release/v6.1'
fix(components): generic dep-declaration and scope-leakage hygiene exposed by cmakev2 (v6.1) See merge request espressif/esp-idf!48904
This commit is contained in:
@@ -33,7 +33,8 @@ endif()
|
||||
|
||||
idf_component_register(SRCS "${srcs}"
|
||||
INCLUDE_DIRS "include"
|
||||
PRIV_REQUIRES esp_netif esp_driver_gpio esp_driver_uart esp_wifi vfs console openthread)
|
||||
REQUIRES esp_netif
|
||||
PRIV_REQUIRES esp_driver_gpio esp_driver_uart esp_wifi vfs console openthread)
|
||||
|
||||
if(CONFIG_EXAMPLE_PROVIDE_WIFI_CONSOLE_CMD)
|
||||
idf_component_optional_requires(PRIVATE console)
|
||||
|
||||
@@ -3,5 +3,5 @@ idf_component_register(SRCS "dns_over_https.c" "dns_utils.c"
|
||||
PRIV_REQUIRES nvs_flash lwip esp_event esp-tls esp_http_client)
|
||||
|
||||
if(CONFIG_LWIP_HOOK_NETCONN_EXT_RESOLVE_CUSTOM)
|
||||
target_link_libraries(${COMPONENT_LIB} "-u lwip_hook_netconn_external_resolve")
|
||||
target_link_libraries(${COMPONENT_LIB} PRIVATE "-u lwip_hook_netconn_external_resolve")
|
||||
endif()
|
||||
|
||||
@@ -7,4 +7,5 @@ endif()
|
||||
|
||||
idf_component_register(SRCS "example_dns_over_https.c"
|
||||
INCLUDE_DIRS "."
|
||||
PRIV_REQUIRES time_sync nvs_flash esp_event esp_timer mbedtls
|
||||
EMBED_TXTFILES ${cert_file})
|
||||
|
||||
Reference in New Issue
Block a user