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 | 8eabf4789e40f7c938adbd5958ee187888f22f93 (patch) | |
tree | f8ac51ba9c6f3f557b68928ff38124138e503e48 /scripts | |
parent | 9d4b0c659389cc6243fe1d52f347a0d63fe462cf (diff) | |
download | upstream-8eabf4789e40f7c938adbd5958ee187888f22f93.tar.gz upstream-8eabf4789e40f7c938adbd5958ee187888f22f93.tar.bz2 upstream-8eabf4789e40f7c938adbd5958ee187888f22f93.zip |
scripts/gen-dependencies.sh: use the cross readelf (#12940)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38259 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 |