summaryrefslogtreecommitdiffstats
path: root/rules.mk
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
commita723229747646f386e05e18cddf016cf115d689a (patch)
treedc36f6b1d6db28123dd176e714a421cb0a9da645 /rules.mk
parentb275dcd327e9d85121d20e684911177a36ec490c (diff)
Add rscript invocation variables
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@661 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'rules.mk')
-rw-r--r--rules.mk3
1 files changed, 3 insertions, 0 deletions
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
+