Changeset 38260


Ignore:
Timestamp:
2013-09-29T22:12:27+02:00 (4 years ago)
Author:
nbd
Message:

scripts/gen-dependencies.sh: use the cross readelf (#12940)

Signed-off-by: Felix Fietkau <nbd@…>

Backport of r38259

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/attitude_adjustment/scripts/gen-dependencies.sh

    r32272 r38260  
    2020find $TARGETS -type f -a -exec file {} \; | \ 
    2121  sed -n -e 's/^\(.*\):.*ELF.*\(executable\|shared object\).*,.* stripped/\1/p' | \ 
    22   $XARGS -n1 readelf -d | \ 
     22  $XARGS -n1 $READELF -d | \ 
    2323  awk '$2 ~ /NEEDED/ && $NF !~ /interpreter/ && $NF ~ /^\[?lib.*\.so/ { gsub(/[\[\]]/, "", $NF); print $NF }' | \ 
    2424  sort -u 
Note: See TracChangeset for help on using the changeset viewer.