From d0e1033a2682e660e7da3dd7c396ed33668cfceb 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 SVN-Revision: 6280 --- 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