Skip to content
Snippets Groups Projects
Verified Commit f7d41017 authored by Andreas Gnau's avatar Andreas Gnau :speech_balloon:
Browse files

brcmkernel: Fix issue where RUNPATH was not set


Fix issue where RUNPATH was not set for some libraries due to a too
strict condition. Add an additional comment to the code explaining why
we are filtering files by name to begin with.

Signed-off-by: default avatarAndreas Gnau <andreas.gnau@iopsys.eu>
parent 96d63bb7
No related branches found
No related tags found
1 merge request!86brcmkernel: Fix issue where RUNPATH was not set
#!/bin/sh -eux
"$RSTRIP_SH" "$@"
# we want to run it on all ELF files for the target, but not on other ELF files such as WiFi firmware.
# by looking for executables bit for executables and for .so* for libraries we should catch everything
find \
"$@" \
-type f \
-not -name 'ld-linux*.so*' \
'(' \
-name '*.so' \
-name '*.so*' \
-or \
-executable \
')' \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment