X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/1a595b0ec8bd75cb3136df67d40603feec286466..e7beb6900e40b869293171dfea046c65209b1b0d:/rules.mk?ds=sidebyside 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