X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/1dcc8eb95bdfca4d0b492f3bdbec2ca632f47c74..e3bea35af30dabb93bd21031f9884f34063c2155:/openwrt/rules.mk diff --git a/openwrt/rules.mk b/openwrt/rules.mk index 875d515ad..f8c6f6d39 100644 --- a/openwrt/rules.mk +++ b/openwrt/rules.mk @@ -122,3 +122,6 @@ IPKG_BUILD := PATH="$(TARGET_PATH)" ipkg-build -c -o root -g root # where to build (and put) .ipk packages IPKG_TARGET_DIR := $(PACKAGE_DIR) +RSTRIP:=STRIP="$(STRIP)" $(SCRIPT_DIR)/rstrip.sh +RSTRIP_KMOD:=STRIP="$(TARGET_CROSS)strip --strip-unneeded --remove-section=.comment --remove-section=.comment" $(SCRIPT_DIR)/rstrip.sh +