This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Simplify check and check-c++ targets
- From: Matt Kraai <kraai at alumni dot cmu dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 1 Aug 2003 14:03:11 -0700
- Subject: Simplify check and check-c++ targets
Howdy,
The dependencies of the check and check-c++ targets are
represented with commands rather than dependencies. This appears
to be cruft left over from the elimination of NOTPARALLEL.
The following patch makes them use dependencies instead.
Tested by running "make bootstrap" and "make -k check" on
powerpc-unknown-linux-gnu.
OK to commit?
--
Matt
* Makefile.tpl (check, check-c++): Express dependencies using
dependencies rather than commands.
* Makefile.in: Regenerate.
Index: Makefile.tpl
===================================================================
RCS file: /cvs/gcc/gcc/Makefile.tpl,v
retrieving revision 1.68
diff -3 -c -p -r1.68 Makefile.tpl
*** Makefile.tpl 28 Jul 2003 03:25:51 -0000 1.68
--- Makefile.tpl 31 Jul 2003 04:14:22 -0000
*************** clean-target-libgcc:
*** 665,672 ****
# Check target.
.PHONY: check do-check
! check:
! $(MAKE) do-check
# Only include modules actually being configured and built.
do-check: maybe-check-gcc [+
--- 665,671 ----
# Check target.
.PHONY: check do-check
! check: do-check
# Only include modules actually being configured and built.
do-check: maybe-check-gcc [+
*************** check-gcc-c++:
*** 1229,1236 ****
fi
.PHONY: check-c++
! check-c++:
! $(MAKE) check-target-libstdc++-v3 check-gcc-c++
.PHONY: install-gcc maybe-install-gcc
maybe-install-gcc:
--- 1228,1234 ----
fi
.PHONY: check-c++
! check-c++: check-target-libstdc++-v3 check-gcc-c++
.PHONY: install-gcc maybe-install-gcc
maybe-install-gcc: