summaryrefslogtreecommitdiff
path: root/openwrt
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-04-18 06:14:06 +0000
committerNicolas Thill <nico@openwrt.org>2005-04-18 06:14:06 +0000
commit6cf7392bce0c5ec09f085446714ca448e19de6cf (patch)
tree19c30cd1a4f36b7d0fe40403c2d9ce3cdc396b8e /openwrt
parent4c04076fc525fae0af936fdcba8e8b8938f5b5ed (diff)
downloadmtk-20170518-6cf7392bce0c5ec09f085446714ca448e19de6cf.zip
mtk-20170518-6cf7392bce0c5ec09f085446714ca448e19de6cf.tar.gz
mtk-20170518-6cf7392bce0c5ec09f085446714ca448e19de6cf.tar.bz2
Add rscript invocation variables
SVN-Revision: 661
Diffstat (limited to 'openwrt')
-rw-r--r--openwrt/rules.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/openwrt/rules.mk b/openwrt/rules.mk
index 875d515..f8c6f6d 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
+