From d09182127bd215236c71796f349e2226cb712700 Mon Sep 17 00:00:00 2001 From: Bjoern Michaelsen Date: Tue, 24 Apr 2012 15:55:37 +0200 Subject: build to tail_build with partial build in tail_build - instead on lots of recursive build.pl modules to iterate through we build all tail_build up to the requested module inside one tail_build when doing a "make foo.all" - advantage: speeding up because getting rid of lots of recursive makes with artificial module barriers, forcing almost sequential execution: build, link, unittest with lots of cpu-idling at each module-end - disadvantage: all shared dependencies of tail_build are now build for a (sub)module of tail_build. This is transitional as we migrate more stuff into tail_build and there are good dependencies inside tail_build - "make foo.all" now only executes slowcheck now for foo, not for all the deps --- solenv/inc/gbuildbridge.mk | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'solenv') diff --git a/solenv/inc/gbuildbridge.mk b/solenv/inc/gbuildbridge.mk index 529d6e2f27a5..88b8dbcab5f5 100644 --- a/solenv/inc/gbuildbridge.mk +++ b/solenv/inc/gbuildbridge.mk @@ -30,12 +30,16 @@ TARGET=prj .INCLUDE : settings.mk +.IF "$(GBUILDTARGET)" == "" +GBUILDTARGET=all slowcheck +.END + .IF "$(depend)" != "" all: .ELIF "$(VERBOSE)"!="" all: - cd $(PRJ) && $(GNUMAKE) -r -j$(GMAKE_MODULE_PARALLELISM) all slowcheck + cd $(PRJ) && $(GNUMAKE) -r -j$(GMAKE_MODULE_PARALLELISM) $(GBUILDTARGET) .ELSE all: - @cd $(PRJ) && $(GNUMAKE) -rs -j$(GMAKE_MODULE_PARALLELISM) all slowcheck + @cd $(PRJ) && $(GNUMAKE) -rs -j$(GMAKE_MODULE_PARALLELISM) $(GBUILDTARGET) .END -- cgit