From: nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Mon, 18 Apr 2005 06:14:06 +0000 (+0000)
Subject: Add rscript invocation variables
X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/a723229747646f386e05e18cddf016cf115d689a

Add rscript invocation variables


git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@661 3c298f89-4303-0410-b956-a3cf2f4a3e73
---

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
+