From a5ff4c2e978f74e3856b8500aa226b7f01f209e8 Mon Sep 17 00:00:00 2001 From: nbd Date: Sat, 6 Oct 2012 16:01:06 +0000 Subject: build: rework the package/install step - collect package install lists during package/compile, then install all packages at once git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33631 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 44b4e944e..57575eac5 100644 --- a/Makefile +++ b/Makefile @@ -40,11 +40,9 @@ else $(toolchain/stamp-install): $(tools/stamp-install) $(target/stamp-compile): $(toolchain/stamp-install) $(tools/stamp-install) $(BUILD_DIR)/.prepared -$(package/stamp-cleanup): $(target/stamp-compile) -$(package/stamp-compile): $(target/stamp-compile) $(package/stamp-cleanup) +$(package/stamp-compile): $(target/stamp-compile) $(package/stamp-install): $(package/stamp-compile) -$(package/stamp-rootfs-prepare): $(package/stamp-install) -$(target/stamp-install): $(package/stamp-compile) $(package/stamp-install) $(package/stamp-rootfs-prepare) +$(target/stamp-install): $(package/stamp-compile) $(package/stamp-install) printdb: @true @@ -86,7 +84,7 @@ prereq: $(target/stamp-prereq) tmp/.prereq_packages fi prepare: .config $(tools/stamp-install) $(toolchain/stamp-install) -world: prepare $(target/stamp-compile) $(package/stamp-cleanup) $(package/stamp-compile) $(package/stamp-install) $(package/stamp-rootfs-prepare) $(target/stamp-install) FORCE +world: prepare $(target/stamp-compile) $(package/stamp-compile) $(package/stamp-install) $(target/stamp-install) FORCE $(_SINGLE)$(SUBMAKE) -r package/index # update all feeds, re-create index files, install symlinks -- cgit v1.2.3