gcc-runtime-external: avoid forced early expansion of do_install

This expansion resulted in absolute filesystem paths in the signature rather
than the unexpanded forms.

JIRA: SIEJIR-6415

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
This commit is contained in:
Christopher Larson
2022-09-23 01:52:12 +05:00
parent be9874006a
commit aedafbbf73

View File

@@ -29,7 +29,7 @@ FILES_MIRRORS =. "\
# The do_install_append in gcc-runtime.inc doesn't do well if the links
# already exist, as it causes a recursion that breaks traversal.
python () {
adjusted = d.getVar('do_install_appended').replace('ln -s', 'link_if_no_dest')
adjusted = d.getVar('do_install_appended', expand=False).replace('ln -s', 'link_if_no_dest')
adjusted = adjusted.replace('mkdir', 'mkdir_if_no_dest')
d.setVar('do_install_appended', adjusted)
}