Simplify check and check-c++ targets
Matt Kraai
kraai@alumni.cmu.edu
Fri Aug 1 20:58:00 GMT 2003
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:
More information about the Gcc-patches
mailing list