aboutsummaryrefslogtreecommitdiffstats
path: root/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
commit8304dfdacebbabb05cf8301c66c4002c543e8888 (patch)
tree056c21ee081ea7e79141723c2b6a0d083c49a348 /package/rules.mk
parentf91aad926f9e0d34d806454a99f25bac63500b12 (diff)
downloadupstream-8304dfdacebbabb05cf8301c66c4002c543e8888.tar.gz
upstream-8304dfdacebbabb05cf8301c66c4002c543e8888.tar.bz2
upstream-8304dfdacebbabb05cf8301c66c4002c543e8888.zip
move wificonf and nvram stuff back to package/, remove build_mipsel/root, run install part of package/ for every board/kernel - fixes dependency mess
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1540 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/rules.mk')
-rw-r--r--package/rules.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/rules.mk b/package/rules.mk
index a95c4e421b..f7b81c62af 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)