X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=rules.mk;h=f8c6f6d39a684d7bd2c1ae93cc87a671e27fd898;hb=40724cfc712e6155a2b2ff76f8935d0088e63444;hp=875d515adffd399adc27db24ac89c1c134c35133;hpb=618de4a4f5d21c90499723858e21975687b01208;p=openwrt-10.03%2F.git 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 +