diff options
author | Nicolas Thill <nico@openwrt.org> | 2009-01-29 20:13:01 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2009-01-29 20:13:01 +0000 |
commit | 1be509269201bb4ed48f89a918a36594e0442df2 (patch) | |
tree | 75df3439ed292da024e2cf8626d83847fac4372e | |
parent | b839bd2111a5509e53041cd7308a58718f0b5a6c (diff) | |
download | upstream-1be509269201bb4ed48f89a918a36594e0442df2.tar.gz upstream-1be509269201bb4ed48f89a918a36594e0442df2.tar.bz2 upstream-1be509269201bb4ed48f89a918a36594e0442df2.zip |
move IPKG_STATE_DIR from ./rules.mk to ./include/package-ipkg.mk and change its value to suit opkg
SVN-Revision: 14269
-rw-r--r-- | include/package-ipkg.mk | 2 | ||||
-rw-r--r-- | rules.mk | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk index b91a27710b..8b4c042a07 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); @@ -65,7 +65,6 @@ STAMP_DIR:=$(BUILD_DIR)/stamp STAMP_DIR_HOST=$(BUILD_DIR_HOST)/stamp TARGET_DIR:=$(BUILD_DIR)/root-$(BOARD) DEBUG_DIR:=$(BUILD_DIR)/debug-$(BOARD) -IPKG_STATE_DIR:=$(TARGET_DIR)/usr/lib/ipkg TARGET_PATH:=$(TOOLCHAIN_DIR)/usr/bin:$(STAGING_DIR_HOST)/bin:$(STAGING_DIR)/host/bin:$(PATH) TARGET_CFLAGS:=$(TARGET_OPTIMIZATION)$(if $(CONFIG_DEBUG), -g3) |