summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2009-01-29 20:13:01 +0000
committerNicolas Thill <nico@openwrt.org>2009-01-29 20:13:01 +0000
commit1be509269201bb4ed48f89a918a36594e0442df2 (patch)
tree75df3439ed292da024e2cf8626d83847fac4372e /include
parentb839bd2111a5509e53041cd7308a58718f0b5a6c (diff)
downloadmtk-20170518-1be509269201bb4ed48f89a918a36594e0442df2.zip
mtk-20170518-1be509269201bb4ed48f89a918a36594e0442df2.tar.gz
mtk-20170518-1be509269201bb4ed48f89a918a36594e0442df2.tar.bz2
move IPKG_STATE_DIR from ./rules.mk to ./include/package-ipkg.mk and change its value to suit opkg
SVN-Revision: 14269
Diffstat (limited to 'include')
-rw-r--r--include/package-ipkg.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk
index b91a277..8b4c042 100644
--- a/include/package-ipkg.mk
+++ b/include/package-ipkg.mk
@@ -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);