From: nbd Date: Thu, 22 Oct 2009 16:26:12 +0000 (+0000) Subject: add some extra stripping options for kernel modules to reduce size even more (thx... X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/fe3cc5d51cb7215f6a7bb7a90c09e5ee7282564a?ds=sidebyside;hp=d968f2b92f68a0a2b0d45c28fc369d082b13c88c add some extra stripping options for kernel modules to reduce size even more (thx, matteo) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18121 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/rules.mk b/rules.mk index 20cb85e30..536f8cff7 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