X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=scripts%2Frstrip.sh;fp=scripts%2Frstrip.sh;h=2aa7e96fdac6fb8af02f04a29a3cbb146a545cda;hb=7ad6e8c312d0f46b8c4aca86aee15aaad46f1191;hp=e47960a941ae203810fc26f003d44d6df1b075ce;hpb=fd46680966e9b9bc282b665282e2e6a22a27c26e;p=openwrt%2Fstaging%2Fjow.git diff --git a/scripts/rstrip.sh b/scripts/rstrip.sh index e47960a941..2aa7e96fda 100755 --- a/scripts/rstrip.sh +++ b/scripts/rstrip.sh @@ -20,7 +20,7 @@ TARGETS=$* exit 1 } -find $TARGETS -type f -a -exec file {} \; | \ +find $TARGETS -not -path \*/lib/firmware/\* -a -type f -a -exec file {} \; | \ sed -n -e 's/^\(.*\):.*ELF.*\(executable\|relocatable\|shared object\).*,.*/\1:\2/p' | \ ( IFS=":"