summaryrefslogtreecommitdiff
path: root/openwrt/package/rules.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-07-24 19:58:14 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-07-24 19:58:14 +0000
commit910f49d7b9c08f9745bd5eb60cfb800c940899c3 (patch)
tree2127b232ba8b642de1105e7cc7f0d1c60563c4bf /openwrt/package/rules.mk
parent725321d472f211acae0b67a1f041a7144a86fe9d (diff)
downloadmtk-20170518-910f49d7b9c08f9745bd5eb60cfb800c940899c3.zip
mtk-20170518-910f49d7b9c08f9745bd5eb60cfb800c940899c3.tar.gz
mtk-20170518-910f49d7b9c08f9745bd5eb60cfb800c940899c3.tar.bz2
move wificonf and nvram stuff back to package/, remove build_mipsel/root, run install part of package/ for every board/kernel - fixes dependency mess
SVN-Revision: 1540
Diffstat (limited to 'openwrt/package/rules.mk')
-rw-r--r--openwrt/package/rules.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/openwrt/package/rules.mk b/openwrt/package/rules.mk
index a95c4e4..f7b81c6 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)