X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/618de4a4f5d21c90499723858e21975687b01208..c4769dfdb0be244a06121aba56a7f6acf36e4cf1:/rules.mk?ds=sidebyside diff --git a/rules.mk b/rules.mk index 875d515ad..f8c6f6d39 100644 --- a/rules.mk +++ b/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 +