Makefile.in (NOTPARALLEL): New.

* Makefile.in (NOTPARALLEL): New.  Use it instead of explicit
        .NOTPARALLEL tag.
        (do-check): Rename from check.
        (check): Allow parallel check.

From-SVN: r50700
This commit is contained in:
Richard Henderson 2002-03-12 16:38:20 -08:00 committed by Richard Henderson
parent f4a126533c
commit c2273204ae
2 changed files with 15 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2002-03-12 Richard Henderson <rth@redhat.com>
* Makefile.in (NOTPARALLEL): New. Use it instead of explicit
.NOTPARALLEL tag.
(do-check): Rename from check.
(check): Allow parallel check.
2002-03-12 Bob Wilson <bob.wilson@acm.org> 2002-03-12 Bob Wilson <bob.wilson@acm.org>
* MAINTAINERS: Add myself as maintainer for xtensa port. * MAINTAINERS: Add myself as maintainer for xtensa port.

View File

@ -18,10 +18,11 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
# #
# Tell GNU make 2.79 not to run the top level in parallel. This # Tell GNU make 3.79 not to run the top level in parallel. This
# prevents contention for $builddir/$target/config.cache, as well # prevents contention for $builddir/$target/config.cache, as well
# as minimizing scatter in file system caches. # as minimizing scatter in file system caches.
.NOTPARALLEL: NOTPARALLEL = .NOTPARALLEL
$(NOTPARALLEL):
srcdir = . srcdir = .
@ -1121,8 +1122,11 @@ clean-target-libgcc:
# Check target. # Check target.
.PHONY: check .PHONY: check do-check
check: $(CHECK_MODULES) \ check:
$(MAKE) do-check NOTPARALLEL=parallel-ok
do-check: $(CHECK_MODULES) \
$(CHECK_TARGET_MODULES) \ $(CHECK_TARGET_MODULES) \
$(CHECK_X11_MODULES) \ $(CHECK_X11_MODULES) \
check-gcc check-gcc