mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
cmake: Fix some uninitialized variable warnings
This commit is contained in:
parent
4352265fa0
commit
6f761dd62d
@ -67,6 +67,7 @@ if(CONFIG_SECURE_SIGNED_APPS)
|
||||
|
||||
set(SECURE_BOOT_SIGNING_KEY ${secure_boot_signing_key}) # needed by some other components
|
||||
set(sign_key_arg "-DSECURE_BOOT_SIGNING_KEY=${secure_boot_signing_key}")
|
||||
set(ver_key_arg)
|
||||
|
||||
add_dependencies(gen_secure_boot_keys gen_secure_boot_signing_key)
|
||||
else()
|
||||
@ -87,10 +88,14 @@ if(CONFIG_SECURE_SIGNED_APPS)
|
||||
add_custom_target(gen_secure_boot_verification_key)
|
||||
endif()
|
||||
|
||||
set(sign_key_arg)
|
||||
set(ver_key_arg "-DSECURE_BOOT_VERIFICATION_KEY=${secure_boot_verification_key}")
|
||||
|
||||
add_dependencies(gen_secure_boot_keys gen_secure_boot_verification_key)
|
||||
endif()
|
||||
else()
|
||||
set(sign_key_arg)
|
||||
set(ver_key_arg)
|
||||
endif()
|
||||
|
||||
idf_build_get_property(idf_path IDF_PATH)
|
||||
|
@ -134,7 +134,7 @@ idf_component_register(SRCS "${srcs}"
|
||||
INCLUDE_DIRS "${include_dirs}"
|
||||
LDFRAGMENTS linker.lf
|
||||
REQUIRES vfs esp_wifi
|
||||
PRIV_REQUIRES ${priv_requires} esp_eth tcpip_adapter nvs_flash)
|
||||
PRIV_REQUIRES esp_eth tcpip_adapter nvs_flash)
|
||||
|
||||
# lots of LWIP source files evaluate macros that check address of stack variables
|
||||
target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-address)
|
||||
|
@ -2,7 +2,7 @@ idf_build_get_property(idf_target IDF_TARGET)
|
||||
|
||||
idf_component_register(INCLUDE_DIRS "port/include" "mbedtls/include"
|
||||
REQUIRES lwip
|
||||
PRIV_REQUIRES ${IDF_COMPONENT_REQUIRES_COMMON} soc
|
||||
PRIV_REQUIRES soc
|
||||
)
|
||||
|
||||
# Only build mbedtls libraries
|
||||
|
Loading…
x
Reference in New Issue
Block a user