summaryrefslogtreecommitdiff
path: root/include/package-ipkg.mk
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-09-09 21:05:51 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-09-09 21:05:51 +0000
commit6cbd09df64b48f6252e1230123194bfcb2f6a2a0 (patch)
tree78da1d6af6dfe3235cb6da85cf559131f5c85124 /include/package-ipkg.mk
parent70dff7070ed289d1fd8078a3bf80713ed959b20d (diff)
downloadmtk-20170518-6cbd09df64b48f6252e1230123194bfcb2f6a2a0.zip
mtk-20170518-6cbd09df64b48f6252e1230123194bfcb2f6a2a0.tar.gz
mtk-20170518-6cbd09df64b48f6252e1230123194bfcb2f6a2a0.tar.bz2
pass opkg offline root as command line arg, solves caching issues when switching between multiple subtargets, thanks Ralph Hempel for reporting
SVN-Revision: 22990
Diffstat (limited to 'include/package-ipkg.mk')
-rw-r--r--include/package-ipkg.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk
index 9212c1f..0ac6bb5 100644
--- a/include/package-ipkg.mk
+++ b/include/package-ipkg.mk
@@ -13,6 +13,7 @@ OPKG:= \
IPKG_OFFLINE_ROOT=$(TARGET_DIR) \
$(STAGING_DIR_HOST)/bin/opkg \
-f $(STAGING_DIR)/etc/opkg.conf \
+ --offline-root $(TARGET_DIR) \
--force-depends \
--force-overwrite \
--force-run-hooks
@@ -126,7 +127,6 @@ ifeq ($(DUMP),)
mkdir -p $(STAGING_DIR)/etc
( echo "dest root /" > $@; \
echo "arch all 100" >> $@; \
- echo "arch $(PKGARCH) 200" >> $@; \
- echo "option offline_root $(TARGET_DIR)" >> $@ )
+ echo "arch $(PKGARCH) 200" >> $@ )
endif