summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/ide_sdk.py
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@amd.com>2024-07-26 11:22:32 -0500
committerSteve Sakoman <steve@sakoman.com>2024-08-06 19:11:18 -0700
commit0d017528d4477172a34d7a805cf4888e642708d8 (patch)
tree6c1c2de7dab4e1ca1df94715918e1b6bbce05331 /scripts/lib/devtool/ide_sdk.py
parent648d2617ba5538ee22ad8ac7dd33684ea6256c03 (diff)
downloadpoky-0d017528d4477172a34d7a805cf4888e642708d8.tar.gz
package.py: Fix static library processing
When PACKAGE_STRIP_STATIC is enabled the system did not pay attention to hardlinks. This could trigger a race condition during stripping of static libraries where multiple strips (through hardlinks) could run at the same time triggering a truncated or modified file error. The hardlink breaking code is based on the existing code for elf files, but due to the nature of the symlinks needed to be done in a separate block of code. Add support for static-library debugfs hardlinking through the existing inode processing code. Print a note to the logs if the link target can't be found. This isn't strictly an error, but may be useful for debugging an issue where a file isn't present. (From OE-Core rev: c2809691992dab48a360c9516d205ec031378cda) Signed-off-by: Mark Hatle <mark.hatle@amd.com> Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit ff371d69f60a1529ed456acb7d8e9305242e74bd) Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts/lib/devtool/ide_sdk.py')
0 files changed, 0 insertions, 0 deletions