X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/7c2693b3bab3be3bf249b80f89f50186443e3244..de4d9aef546185e35be7c0efaf3565624450c2ab:/openwrt/rules.mk?ds=sidebyside diff --git a/openwrt/rules.mk b/openwrt/rules.mk index 4218bbf1b..6e804857f 100644 --- a/openwrt/rules.mk +++ b/openwrt/rules.mk @@ -112,12 +112,12 @@ endif # invoke ipkg with configuration in $(STAGING_DIR)/etc/ipkg.conf -IPKG := 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 $(TARGET_DIR)/bin/ipkg -force-defaults -force-depends IPKG_STATE_DIR := $(TARGET_DIR)/usr/lib/ipkg # invoke ipkg-build with some default options IPKG_BUILD := PATH="$(TARGET_PATH)" ipkg-build -c -o root -g root # where to build (and put) .ipk packages -IPKG_TARGET_DIR := $(BUILD_DIR) +IPKG_TARGET_DIR := $(PACKAGE_DIR)