mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
fix(cmakev2/kconfig): make warnings about misspelled Kconfig names consistent with cmakev1
Currently, the cmakev2 implementation of Kconfig name consistency has a slightly different warning message compared to cmakev2, causing the test `test_build.py::test_build_with_misspelled_kconfig` to fail. Make the warning messages consistent with cmakev1. Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
This commit is contained in:
@@ -235,7 +235,7 @@ function(__collect_kconfig_files_from_directory directory target out_kconfigs ou
|
||||
if(filename_lower STREQUAL "kconfig")
|
||||
list(APPEND kconfig_files "${file}")
|
||||
if(NOT filename STREQUAL "Kconfig")
|
||||
idf_warn("${filename} should be named 'Kconfig' (uppercase K, rest lowercase).
|
||||
idf_warn("${filename} file should be named 'Kconfig' (uppercase K, rest lowercase).
|
||||
Full path to the file: ${file}")
|
||||
endif()
|
||||
|
||||
@@ -243,7 +243,7 @@ function(__collect_kconfig_files_from_directory directory target out_kconfigs ou
|
||||
elseif(filename_lower STREQUAL "kconfig.projbuild")
|
||||
list(APPEND projbuild_files "${file}")
|
||||
if(NOT filename STREQUAL "Kconfig.projbuild")
|
||||
idf_warn("${filename} should be named 'Kconfig.projbuild' (uppercase K, rest lowercase).
|
||||
idf_warn("${filename} file should be named 'Kconfig.projbuild' (uppercase K, rest lowercase).
|
||||
Full path to the file: ${file}")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user