include $(TOPDIR)/rules.mk in the image makefiles
[openwrt.git] / scripts / rstrip.sh
index d9d3ad2..f71aaaf 100755 (executable)
@@ -21,6 +21,8 @@ find $TARGETS -type f -a -exec file {} \; | \
   IFS=":"
   while read F S; do
     echo "$SELF: $F:$S"
-    eval "$STRIP $F"
+       [ "${F##*\.}" = "o" -o "${F##*\.}" = "ko" ] && \
+               eval "$STRIP_KMOD $F" || \
+               eval "$STRIP $F"
   done
 )
This page took 0.022826 seconds and 4 git commands to generate.