Merge branch 'fix/minimal_build_property_v6.0' into 'release/v6.0'

fix(cmake): disable MINIMAL_BUILD build property if COMPONENTS is defined (v6.0)

See merge request espressif/esp-idf!45116
This commit is contained in:
Jiang Jiang Jian
2026-01-29 14:04:05 +08:00
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -116,7 +116,7 @@ repos:
name: Check tools dir files patterns
entry: tools/ci/check_tools_files_patterns.py
language: python
files: '^tools/.+'
files: '^(tools/.+|.gitlab/ci/rules\.yml)'
additional_dependencies:
- PyYAML == 5.3.1
pass_filenames: false
+1
View File
@@ -504,6 +504,7 @@ function(__project_init components_var test_components_var)
if(DEFINED COMPONENTS)
message(WARNING "The MINIMAL_BUILD property is disregarded because the COMPONENTS variable is defined.")
set(minimal_build OFF)
idf_build_set_property(MINIMAL_BUILD OFF)
else()
set(COMPONENTS main ${TEST_COMPONENTS})
set(minimal_build ON)