X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/a723229747646f386e05e18cddf016cf115d689a..2a7362a73ef3221388dd388ef7703966ff336305:/rules.mk?ds=inline diff --git a/rules.mk b/rules.mk index f8c6f6d39..e69654e0e 100644 --- a/rules.mk +++ b/rules.mk @@ -69,13 +69,8 @@ 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.30 LINUX_DIR:=$(BUILD_DIR)/linux LINUX_HEADERS_DIR:=$(TOOL_BUILD_DIR)/linux -LINUX_KERNEL:=$(BUILD_DIR)/buildroot-kernel -LINUX_IMAGE:=$(BUILD_DIR)/buildroot-kernel-image -MODULES_SUBDIR := lib/modules/$(LINUX_VERSION) -MODULES_DIR := $(BUILD_DIR)/modules/$(MODULES_SUBDIR) HOST_ARCH:=$(shell $(HOSTCC) -dumpmachine | sed -e s'/-.*//' \ @@ -113,7 +108,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 @@ -123,5 +118,5 @@ IPKG_BUILD := PATH="$(TARGET_PATH)" ipkg-build -c -o root -g root 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 +RSTRIP_KMOD:=STRIP="$(TARGET_CROSS)strip --strip-unneeded --remove-section=.comment" $(SCRIPT_DIR)/rstrip.sh