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