diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-02-20 17:38:26 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-02-20 17:38:26 +0000 |
commit | c2590fe9309910c759a9b8a5dbcd7facffe8d982 (patch) | |
tree | 3881176f1a6717e8a9fe10f2fea2b9335dd004ca /rules.mk | |
parent | c9188104140685f3d13c789f2823dbad5b3ac0f1 (diff) | |
download | openwrt-c2590fe9309910c759a9b8a5dbcd7facffe8d982.tar.gz openwrt-c2590fe9309910c759a9b8a5dbcd7facffe8d982.tar.bz2 openwrt-c2590fe9309910c759a9b8a5dbcd7facffe8d982.zip |
strip kernel modules more aggressively: make all global symbols local, rename all symbols in the symbol table to make them compress better
SVN-Revision: 30662
Diffstat (limited to 'rules.mk')
-rw-r--r-- | rules.mk | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -219,9 +219,10 @@ else endif endif RSTRIP:= \ + export CROSS="$(TARGET_CROSS)"; \ NM="$(TARGET_CROSS)nm" \ STRIP="$(STRIP)" \ - STRIP_KMOD="$(TARGET_CROSS)strip --strip-unneeded -R .comment -R .pdr -R .mdebug.abi32 -R .note.gnu.build-id -R .gnu.attributes -R .reginfo -x" \ + STRIP_KMOD="$(SCRIPT_DIR)/strip-kmod.sh" \ $(SCRIPT_DIR)/rstrip.sh endif |