fix overzealous kmod stripping - it killed kernel module parameters (#1301)
authorFelix Fietkau <nbd@openwrt.org>
Tue, 6 Feb 2007 00:56:36 +0000 (00:56 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 6 Feb 2007 00:56:36 +0000 (00:56 +0000)
SVN-Revision: 6271

rules.mk

index 42e9978..b63fcf3 100644 (file)
--- a/rules.mk
+++ b/rules.mk
@@ -88,7 +88,7 @@ TARGET_CONFIGURE_OPTS:= \
 # strip an entire directory
 RSTRIP:= \
   STRIP="$(STRIP)" \
-  STRIP_KMOD="$(TARGET_CROSS)strip --strip-unneeded --remove-section=.comment" \
+  STRIP_KMOD="$(TARGET_CROSS)strip --strip-unneeded --remove-section=.comment -w -K '__mod*'" \
   $(SCRIPT_DIR)/rstrip.sh
 
 # where to build (and put) .ipk packages