X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/e8d897309949d4c2cc7a77ba0e6ca84f071fa6e9..b40f1b0b8340bd03614fb09daa9e68820efd9225:/openwrt/rules.mk?ds=inline diff --git a/openwrt/rules.mk b/openwrt/rules.mk index b8ed526a0..63ee1097b 100644 --- a/openwrt/rules.mk +++ b/openwrt/rules.mk @@ -69,7 +69,7 @@ TARGET_CC:=$(TARGET_CROSS)gcc STRIP:=$(STAGING_DIR)/bin/sstrip PATCH=$(SCRIPT_DIR)/patch-kernel.sh SED:=$(STAGING_DIR)/bin/sed -i -e -LINUX_VERSION=2.4.29 +LINUX_VERSION=2.4.30 LINUX_DIR:=$(BUILD_DIR)/linux LINUX_HEADERS_DIR:=$(TOOL_BUILD_DIR)/linux LINUX_KERNEL:=$(BUILD_DIR)/buildroot-kernel @@ -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 +