mirror of
https://github.com/espressif/esp-idf
synced 2025-03-09 09:09:10 -04:00
cmake: kconfig: sort results of new glob expressions
Similar to 2f811b79, see that commit for the explanation.
This commit is contained in:
parent
4ae1b06082
commit
4f3cc319af
@ -121,11 +121,13 @@ function(__kconfig_bootloader_component_add component_dir)
|
||||
idf_build_get_property(bootloader_kconfigs_proj BOOTLOADER_KCONFIGS_PROJ)
|
||||
|
||||
file(GLOB kconfig "${component_dir}/Kconfig")
|
||||
list(SORT kconfig)
|
||||
if(EXISTS "${kconfig}" AND NOT IS_DIRECTORY "${kconfig}")
|
||||
list(APPEND bootloader_kconfigs "${kconfig}")
|
||||
endif()
|
||||
|
||||
file(GLOB kconfig "${component_dir}/Kconfig.projbuild")
|
||||
list(SORT kconfig)
|
||||
if(EXISTS "${kconfig}" AND NOT IS_DIRECTORY "${kconfig}")
|
||||
list(APPEND bootloader_kconfigs_proj "${kconfig}")
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user