mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
cmake: kconfig: don't add empty entries to kconfigs list
This commit is contained in:
parent
0ad89536ce
commit
4ae1b06082
@ -163,8 +163,12 @@ function(__kconfig_generate_config sdkconfig sdkconfig_defaults)
|
||||
# Take into account bootloader components configuration files
|
||||
idf_build_get_property(bootloader_kconfigs BOOTLOADER_KCONFIGS)
|
||||
idf_build_get_property(bootloader_kconfigs_proj BOOTLOADER_KCONFIGS_PROJ)
|
||||
list(APPEND kconfigs "${bootloader_kconfigs}")
|
||||
list(APPEND kconfig_projbuilds "${bootloader_kconfigs_proj}")
|
||||
if(bootloader_kconfigs)
|
||||
list(APPEND kconfigs "${bootloader_kconfigs}")
|
||||
endif()
|
||||
if(bootloader_kconfigs_proj)
|
||||
list(APPEND kconfig_projbuilds "${bootloader_kconfigs_proj}")
|
||||
endif()
|
||||
|
||||
# Store the list version of kconfigs and kconfig_projbuilds
|
||||
idf_build_set_property(KCONFIGS "${kconfigs}")
|
||||
|
Loading…
x
Reference in New Issue
Block a user