mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 00:07:11 +02:00
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:
parent
06aaed0c81
commit
dc14c8ff2a
@ -17,6 +17,8 @@ IPKG:= \
|
|||||||
IPKG_BUILD:= \
|
IPKG_BUILD:= \
|
||||||
ipkg-build -c -o 0 -g 0
|
ipkg-build -c -o 0 -g 0
|
||||||
|
|
||||||
|
IPKG_STATE_DIR:=$(TARGET_DIR)/usr/lib/opkg
|
||||||
|
|
||||||
define BuildIPKGVariable
|
define BuildIPKGVariable
|
||||||
$(call shexport,Package/$(1)/$(2))
|
$(call shexport,Package/$(1)/$(2))
|
||||||
$(1)_COMMANDS += var2file "$(call shvar,Package/$(1)/$(2))" $(2);
|
$(1)_COMMANDS += var2file "$(call shvar,Package/$(1)/$(2))" $(2);
|
||||||
|
1
rules.mk
1
rules.mk
@ -65,7 +65,6 @@ STAMP_DIR:=$(BUILD_DIR)/stamp
|
|||||||
STAMP_DIR_HOST=$(BUILD_DIR_HOST)/stamp
|
STAMP_DIR_HOST=$(BUILD_DIR_HOST)/stamp
|
||||||
TARGET_DIR:=$(BUILD_DIR)/root-$(BOARD)
|
TARGET_DIR:=$(BUILD_DIR)/root-$(BOARD)
|
||||||
DEBUG_DIR:=$(BUILD_DIR)/debug-$(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_PATH:=$(TOOLCHAIN_DIR)/usr/bin:$(STAGING_DIR_HOST)/bin:$(STAGING_DIR)/host/bin:$(PATH)
|
||||||
TARGET_CFLAGS:=$(TARGET_OPTIMIZATION)$(if $(CONFIG_DEBUG), -g3)
|
TARGET_CFLAGS:=$(TARGET_OPTIMIZATION)$(if $(CONFIG_DEBUG), -g3)
|
||||||
|
Loading…
Reference in New Issue
Block a user