Merge branch 'feat/generate_per_component_headers' into 'master'

feat(kconfig): add support for per option based build optimization

Closes IDF-8957

See merge request espressif/esp-idf!41966
This commit is contained in:
Roland Dobai
2026-06-02 19:46:09 +02:00
24 changed files with 693 additions and 46 deletions
+7
View File
@@ -530,6 +530,13 @@ def action_extensions(base_actions: dict, project_path: str) -> Any:
'envvar': 'IDF_CCACHE_ENABLE',
'default': False,
},
{
'names': ['--configdep/--no-configdep'],
'help': 'Use configdep wrapper to optimize rebuild process. Enabled by default.',
'is_flag': True,
'envvar': 'IDF_CONFIGDEP_ENABLE',
'default': True,
},
{
'names': ['-G', '--generator'],
'help': 'CMake generator.',
+1
View File
@@ -788,6 +788,7 @@ def ensure_build_directory(
cache = _parse_cmakecache(cache_path) if os.path.exists(cache_path) else {}
args.define_cache_entry.append(f'CCACHE_ENABLE={args.ccache}')
args.define_cache_entry.append(f'CONFIGDEP_ENABLE={args.configdep}')
cache_cmdl = _parse_cmdl_cmakecache(args.define_cache_entry)