From c2273204ae3088f8e31cd3e014950db5de96e2d9 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Tue, 12 Mar 2002 16:38:20 -0800 Subject: [PATCH] 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 --- ChangeLog | 7 +++++++ Makefile.in | 12 ++++++++---- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1afc8b38b63..291c2176c2f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2002-03-12 Richard Henderson + + * 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 * MAINTAINERS: Add myself as maintainer for xtensa port. diff --git a/Makefile.in b/Makefile.in index 2df4ad9be4b..a2393d9eb6c 100644 --- a/Makefile.in +++ b/Makefile.in @@ -18,10 +18,11 @@ # 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 # as minimizing scatter in file system caches. -.NOTPARALLEL: +NOTPARALLEL = .NOTPARALLEL +$(NOTPARALLEL): srcdir = . @@ -1121,8 +1122,11 @@ clean-target-libgcc: # Check target. -.PHONY: check -check: $(CHECK_MODULES) \ +.PHONY: check do-check +check: + $(MAKE) do-check NOTPARALLEL=parallel-ok + +do-check: $(CHECK_MODULES) \ $(CHECK_TARGET_MODULES) \ $(CHECK_X11_MODULES) \ check-gcc