File tree Expand file tree Collapse file tree 1 file changed +7
-12
lines changed Expand file tree Collapse file tree 1 file changed +7
-12
lines changed Original file line number Diff line number Diff line change @@ -687,18 +687,13 @@ def get_frameworks_in_current_env():
687
687
688
688
if ("arduino" in pioframework and "espidf" not in pioframework and
689
689
arduino_lib_compile_flag in ("Inactive" , "True" )):
690
-
691
- if flag_custom_component_remove or flag_lib_ignore :
692
- flag_remove = True
693
- from component_manager import ComponentManager
694
- component_manager = ComponentManager (env )
695
- component_manager .handle_component_settings (
696
- add_components = flag_custom_component_add ,
697
- remove_components = flag_remove
698
- )
699
- silent_action = env .Action (component_manager .restore_pioarduino_build_py )
700
- silent_action .strfunction = lambda target , source , env : '' # hack to silence scons command output
701
- env .AddPostAction ("checkprogsize" , silent_action )
690
+ # try to remove not needed include path if an lib_ignore entry exists
691
+ from component_manager import ComponentManager
692
+ component_manager = ComponentManager (env )
693
+ component_manager .handle_component_settings ()
694
+ silent_action = env .Action (component_manager .restore_pioarduino_build_py )
695
+ silent_action .strfunction = lambda target , source , env : '' # hack to silence scons command output
696
+ env .AddPostAction ("checkprogsize" , silent_action )
702
697
703
698
if IS_WINDOWS :
704
699
# Smart include path optimization based on total path length
You can’t perform that action at this time.
0 commit comments