Skip to content

Commit ef0ffef

Browse files
committed
extract_utils: bp_builder: use existing target element if possible
Change-Id: Ia92c66f3200b44ada253d03bf7e6cd4f9100b8d5
1 parent bb4f248 commit ef0ffef

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

extract_utils/bp_builder.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,8 @@ def target(self, f: File, machine: EM, deps: Optional[List[str]]):
229229
target_dict: Dict[str, bp_type] = {}
230230
if 'target' not in self.o:
231231
self.o['target'] = target_dict
232+
else:
233+
target_dict = self.o['target']
232234

233235
rel_path = self.__file_rel_sub_path(f.dst)
234236
if machine == EM.QDSP6:

0 commit comments

Comments
 (0)