diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2012-12-04 15:21:00 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2012-12-04 16:40:34 +0100 |
commit | 878ecbaf8985be0517fdbb2785b3864fbc9afcf6 (patch) | |
tree | d003de343135e33251d42ede741846158c191601 | |
parent | ad0e96c2ec27ed6266715c724464809e6d86979f (diff) |
revert the huge performance regression in gbuild intoduced with 0a45deba2be4a77db7540bd050b25bd6c26d7513
- we should default to make -r
- everything else grows exponentially with the number of targets
- gbuild should now have sane noop builds again even on make 3.82
-rw-r--r-- | solenv/gbuild/gbuild.mk | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/solenv/gbuild/gbuild.mk b/solenv/gbuild/gbuild.mk index d0440b49c600..6f3a99c20458 100644 --- a/solenv/gbuild/gbuild.mk +++ b/solenv/gbuild/gbuild.mk @@ -48,10 +48,19 @@ GBUILDDIR:=$(SRCDIR)/solenv/gbuild .DELETE_ON_ERROR: +# do not use built-in rules +# DO NOT TOUCH THIS LINE UNLESS YOU REALLY KNOW WHAT YOU ARE DOING +# REMOVING THIS MAKES e.g. MODULE SW ALONE SLOWER BY SOME 300% +# FOR TAIL_BUILD THE IMPACT IS HUGE! +# (unless you are doing make -r, which we should explicitly NOT require from +# users) +MAKEFLAGS+=-r + # by default gbuild use /bin/sh # if you want to use a particular shell # you can export gb_SHELL=<path_to_shell> # + ifdef gb_SHELL SHELL := $(gb_SHELL) else |