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