mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-28 17:48:58 +02:00
strip .gnu.attributes and .reginfo from kernel modules
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26304 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
91c9f2c7d5
commit
a2ebc81e18
2
rules.mk
2
rules.mk
@ -211,7 +211,7 @@ else
|
||||
RSTRIP:= \
|
||||
NM="$(TARGET_CROSS)nm" \
|
||||
STRIP="$(STRIP)" \
|
||||
STRIP_KMOD="$(TARGET_CROSS)strip --strip-unneeded --remove-section=.comment --remove-section=.pdr --remove-section=.mdebug.abi32 --remove-section=.note.gnu.build-id" \
|
||||
STRIP_KMOD="$(TARGET_CROSS)strip --strip-unneeded -R .comment -R .pdr -R .mdebug.abi32 -R .note.gnu.build-id -R .gnu.attributes -R .reginfo" \
|
||||
$(SCRIPT_DIR)/rstrip.sh
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user