X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=rules.mk;h=63ee1097ba3113f28b66c12ffb60f065ee2a15f4;hb=0b946b862542facb419541856e70c0d99a241bab;hp=875d515adffd399adc27db24ac89c1c134c35133;hpb=618de4a4f5d21c90499723858e21975687b01208;p=openwrt-10.03%2F.git diff --git a/rules.mk b/rules.mk index 875d515ad..63ee1097b 100644 --- a/rules.mk +++ b/rules.mk @@ -113,7 +113,7 @@ endif # invoke ipkg with configuration in $(STAGING_DIR)/etc/ipkg.conf -IPKG := IPKG_INSTROOT=$(TARGET_DIR) IPKG_CONF_DIR=$(STAGING_DIR)/etc $(TARGET_DIR)/bin/ipkg -force-defaults -force-depends +IPKG := IPKG_INSTROOT=$(TARGET_DIR) IPKG_CONF_DIR=$(STAGING_DIR)/etc $(SCRIPT_DIR)/ipkg -force-defaults -force-depends IPKG_STATE_DIR := $(TARGET_DIR)/usr/lib/ipkg # invoke ipkg-build with some default options @@ -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 +