ci: consider sdkconfig.defaults.TARGET_NAME in examples and test apps

This commit is contained in:
Ivan Grokhotkov 2020-03-20 14:50:00 +01:00 committed by bot
parent 370aa39045
commit b1e907ccf1

View File

@ -53,7 +53,7 @@ class CMakeBuildSystem(BuildSystem):
# Note: the build system supports taking multiple sdkconfig.defaults files via SDKCONFIG_DEFAULTS
# CMake variable. However here we do this manually to perform environment variable expansion in the
# sdkconfig files.
sdkconfig_defaults_list = ["sdkconfig.defaults"]
sdkconfig_defaults_list = ["sdkconfig.defaults", "sdkconfig.defaults." + build_item.target]
if build_item.sdkconfig_path:
sdkconfig_defaults_list.append(build_item.sdkconfig_path)