summaryrefslogtreecommitdiffstats
path: root/rules.mk
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-03-06 11:02:08 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-03-06 11:02:08 +0000
commit8592838f36cf9fc95ec61f6f38fbc44213894a9e (patch)
tree7d0bf0e9093d57535602a4672834925e5eb9d94a /rules.mk
parent966e13392b190205aa4ed875b4fe5101c4279053 (diff)
Change ipkg invocation and add -force-defaults option
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@313 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'rules.mk')
-rw-r--r--rules.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules.mk b/rules.mk
index 681d4f9b1..4218bbf1b 100644
--- a/rules.mk
+++ b/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