瀏覽代碼

add some extra stripping options for kernel modules to reduce size even more (thx, matteo)

SVN-Revision: 18121
Felix Fietkau 16 年之前
父節點
當前提交
9bd710e050
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      rules.mk

+ 1 - 1
rules.mk

@@ -183,7 +183,7 @@ else
   RSTRIP:= \
     NM="$(TARGET_CROSS)nm" \
     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
 endif