X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/1a595b0ec8bd75cb3136df67d40603feec286466..bdab2c1bd88b3fa31365e95c5d8884c74dfae5d2:/rules.mk diff --git a/rules.mk b/rules.mk index ca76ef45b..428258f5f 100644 --- a/rules.mk +++ b/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 -x" \ $(SCRIPT_DIR)/rstrip.sh endif