diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-09-29 20:10:42 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-09-29 20:10:42 +0000 |
commit | b14e0d008c69c1bc9dc3e5a7cd2473a92c758c68 (patch) | |
tree | 6c8917b412a6f35d9846d13b6481e5d7db75ea64 /scripts | |
parent | 17be4e9d14c87e991e5039915dbcc20e1f13183a (diff) | |
download | upstream-b14e0d008c69c1bc9dc3e5a7cd2473a92c758c68.tar.gz upstream-b14e0d008c69c1bc9dc3e5a7cd2473a92c758c68.tar.bz2 upstream-b14e0d008c69c1bc9dc3e5a7cd2473a92c758c68.zip |
scripts/gen-dependencies.sh: use the cross readelf (#12940)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38259
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/gen-dependencies.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gen-dependencies.sh b/scripts/gen-dependencies.sh index de8d67376e..889255a167 100755 --- a/scripts/gen-dependencies.sh +++ b/scripts/gen-dependencies.sh @@ -20,7 +20,7 @@ XARGS="${XARGS:-xargs -r}" find $TARGETS -type f -a -exec file {} \; | \ sed -n -e 's/^\(.*\):.*ELF.*\(executable\|shared object\).*,.* stripped/\1/p' | \ - $XARGS -n1 readelf -d | \ + $XARGS -n1 $READELF -d | \ awk '$2 ~ /NEEDED/ && $NF !~ /interpreter/ && $NF ~ /^\[?lib.*\.so/ { gsub(/[\[\]]/, "", $NF); print $NF }' | \ sort -u |