OSDN Git Service

* Makefile.in (NOTPARALLEL): New. Use it instead of explicit
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 13 Mar 2002 00:38:20 +0000 (00:38 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 13 Mar 2002 00:38:20 +0000 (00:38 +0000)
        .NOTPARALLEL tag.
        (do-check): Rename from check.
        (check): Allow parallel check.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50700 138bc75d-0d04-0410-961f-82ee72b054a4

ChangeLog
Makefile.in

index 1afc8b3..291c217 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * MAINTAINERS: Add myself as maintainer for xtensa port.
index 2df4ad9..a2393d9 100644 (file)
 # 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