--- a/make/Main.gmk Wed Sep 03 14:10:53 2014 +0200
+++ b/make/Main.gmk Fri Sep 05 12:42:41 2014 +0200
@@ -487,17 +487,8 @@
# Clean targets
#
################################################################################
-
-# If running a clean target, disable parallel execution
-ifneq ($(findstring clean, $(MAKECMDGOALS)), )
- .NOTPARALLEL:
- # It's not recommended to run additional targets to clean on the same make
- # command line. Try to detect this and issue a warning.
- ifneq ($(filter-out clean%, $(MAKECMDGOALS)), )
- $(warning Mixing clean targets with normal build targets will not work well \
- and is not recommended.)
- endif
-endif
+# Clean targets are automatically run serially by the Makefile calling this
+# file.
CLEAN_COMPONENTS += langtools corba hotspot jdk nashorn images \
bootcycle-build docs docstemp test
@@ -543,6 +534,9 @@
@if test "x$(IGNORE_OLD_CONFIG)" != "xtrue"; then exit 1; fi
endif
+# The reconfigure target is automatically run serially from everything else
+# by the Makefile calling this file.
+
reconfigure:
ifneq ($(CONFIGURE_COMMAND_LINE), )
@$(ECHO) "Re-running configure using arguments '$(CONFIGURE_COMMAND_LINE)'"