summaryrefslogtreecommitdiff
path: root/openwrt/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/rules.mk')
-rw-r--r--openwrt/rules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/rules.mk b/openwrt/rules.mk
index ba027d4576..6e804857f1 100644
--- a/openwrt/rules.mk
+++ b/openwrt/rules.mk
@@ -112,7 +112,7 @@ 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