From a94d2be696b19383fa65ba53a22c862c73508c2b Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 9 Feb 2007 16:24:34 +0000 Subject: more fixes for rstrip.sh and kernel modules - fixes #1301 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6280 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- rules.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rules.mk') diff --git a/rules.mk b/rules.mk index b63fcf31c8..a6188f4a6b 100644 --- a/rules.mk +++ b/rules.mk @@ -87,8 +87,9 @@ TARGET_CONFIGURE_OPTS:= \ # strip an entire directory RSTRIP:= \ + NM="$(TARGET_CROSS)nm" \ STRIP="$(STRIP)" \ - STRIP_KMOD="$(TARGET_CROSS)strip --strip-unneeded --remove-section=.comment -w -K '__mod*'" \ + STRIP_KMOD="$(TARGET_CROSS)strip --strip-unneeded --remove-section=.comment" \ $(SCRIPT_DIR)/rstrip.sh # where to build (and put) .ipk packages -- cgit v1.2.3