mirror of
https://github.com/espressif/esp-idf
synced 2025-03-09 17:19:09 -04:00
Currently, several examples do not explicitly state their component dependencies, relying instead on the default behavior that includes all registered components and commonly required ones in the build. Explicitly adding component dependencies can reduce build time when set(COMPONENTS main) is used. Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
10 lines
388 B
CMake
10 lines
388 B
CMake
idf_component_register(SRCS "efuse_main.c"
|
|
"esp_efuse_custom_table.c"
|
|
PRIV_REQUIRES efuse
|
|
INCLUDE_DIRS "."
|
|
"include")
|
|
|
|
if(CONFIG_SECURE_BOOT OR CONFIG_SECURE_FLASH_ENC_ENABLED OR CONFIG_IDF_TARGET_ESP32C2)
|
|
idf_component_optional_requires(PRIVATE bootloader_support)
|
|
endif()
|