mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-23 20:11:05 +02:00
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
This commit is contained in:
parent
d968f2b92f
commit
fe3cc5d51c
2
rules.mk
2
rules.mk
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user