summaryrefslogtreecommitdiff
path: root/openwrt/rules.mk
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-03-06 11:02:08 +0000
committerNicolas Thill <nico@openwrt.org>2005-03-06 11:02:08 +0000
commitfff943cadd32493d17a6ee0a5f7f1d05be7baf80 (patch)
treef9b0ca3e14923dbe46ce73f1e11adb105637375d /openwrt/rules.mk
parent1090511eb70d5486bffb62466544ee52cd56cf4d (diff)
downloadmtk-20170518-fff943cadd32493d17a6ee0a5f7f1d05be7baf80.zip
mtk-20170518-fff943cadd32493d17a6ee0a5f7f1d05be7baf80.tar.gz
mtk-20170518-fff943cadd32493d17a6ee0a5f7f1d05be7baf80.tar.bz2
Change ipkg invocation and add -force-defaults option
SVN-Revision: 313
Diffstat (limited to 'openwrt/rules.mk')
-rw-r--r--openwrt/rules.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/openwrt/rules.mk b/openwrt/rules.mk
index 681d4f9..4218bbf 100644
--- a/openwrt/rules.mk
+++ b/openwrt/rules.mk
@@ -112,7 +112,8 @@ endif
# invoke ipkg with configuration in $(STAGING_DIR)/etc/ipkg.conf
-IPKG := PATH="$(TARGET_PATH)" IPKG_CONF_DIR=$(STAGING_DIR)/etc ipkg -force-depends
+IPKG := 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