X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/79876ab2eb247e4d4ec7d5cf8bcca379162467a4..5fdaea419cd71eed4dcc752f2e0803b2bde6f06f:/package/rules.mk?ds=sidebyside diff --git a/package/rules.mk b/package/rules.mk index a95c4e421..f7b81c62a 100644 --- a/package/rules.mk +++ b/package/rules.mk @@ -1,3 +1,7 @@ +# invoke ipkg with configuration in $(STAGING_DIR)/etc/ipkg.conf +IPKG := IPKG_INSTROOT=$(TARGET_DIR) IPKG_CONF_DIR=$(IPKG_CONF) $(SCRIPT_DIR)/ipkg -force-defaults -force-depends +IPKG_STATE_DIR := $(TARGET_DIR)/usr/lib/ipkg + define PKG_template IPKG_$(1):=$(PACKAGE_DIR)/$(2)_$(3)_$(4).ipk IDIR_$(1):=$(PKG_BUILD_DIR)/ipkg/$(2)