Missed to update use of get function

Change-Id: I3dda5407ae8e4d9a6d060a8e5b7a07d6330c695c
This commit is contained in:
olindgre 2024-10-23 10:09:43 +02:00
parent 149a87895b
commit f04961b9bd

@ -463,7 +463,8 @@ def copy_common_src_to_src_out(build_cfg, patch=False):
files_to_copy = filter(os.path.isfile, files)
for file_ in files_to_copy:
if patch:
patch_and_copy_common_src_to_src_out(build_cfg.get_swc_name(), Path(file_), Path(src_dst_dir))
swc_name = build_cfg.get_composition_config("softwareComponentName")
patch_and_copy_common_src_to_src_out(swc_name, Path(file_), Path(src_dst_dir))
else:
shutil.copy2(file_, src_dst_dir)
LOG.debug("copied %s to %s", file_, src_dst_dir)