move IPKG_STATE_DIR from ./rules.mk to ./include/package-ipkg.mk and change its value to suit opkg

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14269 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Nicolas Thill
2009-01-29 20:13:01 +00:00
parent ab3a36b4a6
commit 044375f28e
2 changed files with 2 additions and 1 deletions

View File

@@ -17,6 +17,8 @@ IPKG:= \
IPKG_BUILD:= \
ipkg-build -c -o 0 -g 0
IPKG_STATE_DIR:=$(TARGET_DIR)/usr/lib/opkg
define BuildIPKGVariable
$(call shexport,Package/$(1)/$(2))
$(1)_COMMANDS += var2file "$(call shvar,Package/$(1)/$(2))" $(2);