hostapd: use the new build variants feature to clean up the makefile
[openwrt/svn-archive/archive.git] / rules.mk
index 20cb85e3047f269482cb7d6e07139666c5c7403a..0ee8d568a677cd6792dc6fdc98e07dbdb7a46f3e 100644 (file)
--- a/rules.mk
+++ b/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