Add rscript invocation variables
authorNicolas Thill <nico@openwrt.org>
Mon, 18 Apr 2005 06:14:06 +0000 (06:14 +0000)
committerNicolas Thill <nico@openwrt.org>
Mon, 18 Apr 2005 06:14:06 +0000 (06:14 +0000)
SVN-Revision: 661

openwrt/rules.mk

index 875d515adffd399adc27db24ac89c1c134c35133..f8c6f6d39a684d7bd2c1ae93cc87a671e27fd898 100644 (file)
@@ -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
+