X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/d30a9b5d17aa0bc6307a0eb19ea659487201059d..3194de43ecbccb75993fbf915d8ad19ca4046071:/openwrt/package/rules.mk diff --git a/openwrt/package/rules.mk b/openwrt/package/rules.mk index a95c4e421..f7b81c62a 100644 --- a/openwrt/package/rules.mk +++ b/openwrt/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)