From 9bd710e050fee9bac28d20915b74a88514b7344a Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 22 Oct 2009 16:26:12 +0000 Subject: [PATCH] add some extra stripping options for kernel modules to reduce size even more (thx, matteo) SVN-Revision: 18121 --- rules.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules.mk b/rules.mk index 20cb85e304..536f8cff7f 100644 --- a/rules.mk +++ b/rules.mk @@ -183,7 +183,7 @@ else RSTRIP:= \ NM="$(TARGET_CROSS)nm" \ STRIP="$(STRIP)" \ - STRIP_KMOD="$(TARGET_CROSS)strip --strip-unneeded --remove-section=.comment" \ + STRIP_KMOD="$(TARGET_CROSS)strip --strip-unneeded --remove-section=.comment --remove-section=.pdr --remove-section=mdebug.abi32" \ $(SCRIPT_DIR)/rstrip.sh endif -- 2.30.2