summaryrefslogtreecommitdiff
path: root/openwrt/toolchain/ipkg-utils/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/toolchain/ipkg-utils/Makefile')
-rw-r--r--openwrt/toolchain/ipkg-utils/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/openwrt/toolchain/ipkg-utils/Makefile b/openwrt/toolchain/ipkg-utils/Makefile
index 9568e8f..0cfe3c0 100644
--- a/openwrt/toolchain/ipkg-utils/Makefile
+++ b/openwrt/toolchain/ipkg-utils/Makefile
@@ -31,9 +31,9 @@ $(PKG_BUILD_DIR)/.patched: $(PKG_BUILD_DIR)/.unpacked
$(STAGING_DIR)/usr/bin/ipkg-build: $(PKG_BUILD_DIR)/.patched
mkdir -p $(STAGING_DIR)/etc
- echo "dest root $(TARGET_DIR)" > $(STAGING_DIR)/etc/ipkg.conf
+ echo "dest root /" > $(STAGING_DIR)/etc/ipkg.conf
+ echo "option offline_root $(TARGET_DIR)" >> $(STAGING_DIR)/etc/ipkg.conf
mkdir -p $(STAGING_DIR)/usr/bin
- install -m0755 $(TARGET_DIR)/bin/ipkg $(STAGING_DIR)/usr/bin
install -m0755 $(PKG_BUILD_DIR)/ipkg-build $(STAGING_DIR)/usr/bin
install -m0755 $(PKG_BUILD_DIR)/ipkg-buildpackage $(STAGING_DIR)/usr/bin
install -m0755 $(PKG_BUILD_DIR)/ipkg-make-index $(STAGING_DIR)/usr/bin