MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / _PretreatListParameters

Function _PretreatListParameters

tools/building.py:554–563  ·  view source on GitHub ↗
(target_list)

Source from the content-addressed store, hash-verified

552 src_group['LOCAL_ASFLAGS'] = group['LOCAL_ASFLAGS']
553
554def _PretreatListParameters(target_list):
555 while '' in target_list: # remove null strings
556 target_list.remove('')
557 while ' ' in target_list: # remove ' '
558 target_list.remove(' ')
559
560 if(len(target_list) == 0):
561 return False # ignore this list, don't add this list to the parameter
562
563 return True # permit to add this list to the parameter
564
565def DefineGroup(name, src, depend, **parameters):
566 global Env

Callers 1

DefineGroupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected