summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-01-20 00:32:13 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-01-20 00:32:13 +0000
commit07730c370d8794f586c5c60672a23e947aa8bad6 (patch)
treed7f25e9d793ecb39205387ad5e1e7831ff744104
parent2b4df7bb6f0734d675e1da56128f4c5f6fc93e81 (diff)
Bypass hardcoded ipkg root paths; fixes obscure build error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3016 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--rules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.mk b/rules.mk
index 3866ede8f1..31c2b4f914 100644
--- a/rules.mk
+++ b/rules.mk
@@ -140,7 +140,7 @@ endif
IPKG_BUILD := PATH="$(TARGET_PATH)" ipkg-build -c -o root -g root
# where to build (and put) .ipk packages
IPKG_TARGET_DIR := $(PACKAGE_DIR)
-IPKG:=IPKG_TMP=$(BUILD_DIR)/tmp IPKG_INSTROOT=$(TARGET_DIR) IPKG_CONF_DIR=$(STAGING_DIR)/etc $(SCRIPT_DIR)/ipkg -force-defaults -force-depends
+IPKG:=IPKG_TMP=$(BUILD_DIR)/tmp IPKG_INSTROOT=$(TARGET_DIR) IPKG_CONF_DIR=$(STAGING_DIR)/etc IPKG_OFFLINE_ROOT=$(BUILD_DIR)/root $(SCRIPT_DIR)/ipkg -force-defaults -force-depends
IPKG_STATE_DIR := $(TARGET_DIR)/usr/lib/ipkg
RSTRIP:=STRIP="$(STRIP)" $(SCRIPT_DIR)/rstrip.sh