Change ipkg invocation and add -force-defaults option
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 6 Mar 2005 11:02:08 +0000 (11:02 +0000)
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 6 Mar 2005 11:02:08 +0000 (11:02 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@313 3c298f89-4303-0410-b956-a3cf2f4a3e73

openwrt/rules.mk

index 681d4f9..4218bbf 100644 (file)
@@ -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
This page took 0.024036 seconds and 4 git commands to generate.