add some extra stripping options for kernel modules to reduce size even more (thx, matteo)

SVN-Revision: 18121
This commit is contained in:
Felix Fietkau 2009-10-22 16:26:12 +00:00
parent 763644ae93
commit 9bd710e050

View File

@ -183,7 +183,7 @@ else
RSTRIP:= \ RSTRIP:= \
NM="$(TARGET_CROSS)nm" \ NM="$(TARGET_CROSS)nm" \
STRIP="$(STRIP)" \ 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 $(SCRIPT_DIR)/rstrip.sh
endif endif