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
parent 6330b3345e
commit 3053119f60

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)