3 # Copyright (C) 2006 OpenWrt.org
5 # This is free software, licensed under the GNU General Public License v2.
6 # See /LICENSE for more information.
13 echo "$SELF: strip command not defined (STRIP variable not set)"
19 [ -z "$TARGETS" ] && {
20 echo "$SELF: no directories / files specified"
21 echo "usage: $SELF [PATH...]"
25 find $TARGETS -type f
-a -exec file {} \
; | \
26 sed -n -e 's/^\(.*\):.*ELF.*\(executable\|relocatable\|shared object\).*,.* stripped/\1:\2/p' | \
31 [ "${F##*\.}" = "o" -o "${F##*\.}" = "ko" ] && \
32 eval "$STRIP_KMOD $F" || \
This page took 0.042928 seconds and 5 git commands to generate.