forked from espressif/esp-idf
cmake: don't add main component Kconfig twice
This commit is contained in:
committed by
Renz Bagaporo
parent
d04718bbe3
commit
533c5e98e8
@ -78,7 +78,7 @@ function(kconfig_process_config)
|
|||||||
|
|
||||||
# Find Kconfig and Kconfig.projbuild for each component as applicable
|
# Find Kconfig and Kconfig.projbuild for each component as applicable
|
||||||
# if any of these change, cmake should rerun
|
# if any of these change, cmake should rerun
|
||||||
foreach(dir ${BUILD_COMPONENT_PATHS} "${CMAKE_SOURCE_DIR}/main")
|
foreach(dir ${BUILD_COMPONENT_PATHS})
|
||||||
file(GLOB kconfig "${dir}/Kconfig")
|
file(GLOB kconfig "${dir}/Kconfig")
|
||||||
if(kconfig)
|
if(kconfig)
|
||||||
set(kconfigs "${kconfigs} ${kconfig}")
|
set(kconfigs "${kconfigs} ${kconfig}")
|
||||||
|
Reference in New Issue
Block a user