summaryrefslogtreecommitdiffstats
path: root/openwrt
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-04-18 06:14:06 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-04-18 06:14:06 +0000
commit0d90732bbd5531f4ce57b25e74142d7b705e1db8 (patch)
tree19c30cd1a4f36b7d0fe40403c2d9ce3cdc396b8e /openwrt
parent1710822ad35188d2b30868beba0dd259cc022a85 (diff)
Add rscript invocation variables
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@661 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 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
+