From: nbd Date: Fri, 18 Mar 2011 03:13:38 +0000 (+0000) Subject: strip .note.gnu.build-id from kernel modules X-Git-Url: http://git.archive.openwrt.org/?p=openwrt.git;a=commitdiff_plain;h=1a595b0ec8bd75cb3136df67d40603feec286466 strip .note.gnu.build-id from kernel modules git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26217 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/rules.mk b/rules.mk index 2d56c436ed..ca76ef45b6 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" \ + STRIP_KMOD="$(TARGET_CROSS)strip --strip-unneeded --remove-section=.comment --remove-section=.pdr --remove-section=.mdebug.abi32 --remove-section=.note.gnu.build-id" \ $(SCRIPT_DIR)/rstrip.sh endif