cmake: don't add main component Kconfig twice

pull/2666/head
Ivan Grokhotkov 2018-09-12 19:31:22 +08:00 zatwierdzone przez Renz Bagaporo
rodzic d04718bbe3
commit 533c5e98e8
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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}")