Changeset 38259


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

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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/gen-dependencies.sh

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