diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2012-04-24 15:55:37 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2012-04-25 11:28:35 +0200 |
commit | d09182127bd215236c71796f349e2226cb712700 (patch) | |
tree | 4a929dbc7e65d04a5f620905fa6e6792b48f8efa /solenv | |
parent | 8b5a984d45005d3df1c89eae897d6e04612625d8 (diff) |
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
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/inc/gbuildbridge.mk | 8 |
1 files changed, 6 insertions, 2 deletions
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 |