8135180: Print configure arguments using make print-configuration
authorihse
Wed, 09 Sep 2015 09:44:57 +0200
changeset 32461 e1cfbafc4e9c
parent 32460 9e9bffb3029a
child 32462 f236112ab3d0
child 32559 8a1504b43ad8
8135180: Print configure arguments using make print-configuration Reviewed-by: erikj
make/Init.gmk
--- a/make/Init.gmk	Wed Sep 09 09:36:39 2015 +0200
+++ b/make/Init.gmk	Wed Sep 09 09:44:57 2015 +0200
@@ -50,7 +50,7 @@
   include $(topdir)/make/Help.gmk
 
   # Targets provided by Init.gmk.
-  ALL_INIT_TARGETS := print-modules print-targets reconfigure
+  ALL_INIT_TARGETS := print-modules print-targets print-configuration reconfigure
 
   # CALLED_TARGETS is the list of targets that the user provided,
   # or "default" if unspecified.
@@ -228,6 +228,9 @@
 	    $(MAKE) $(MAKE_ARGS) -j 1 -f make/Main.gmk $(USER_MAKE_VARS) \
 	    NO_RECIPES=true print-targets )
 
+  print-configuration:
+	  $(ECHO) $(CONFIGURE_COMMAND_LINE)
+
   reconfigure:
         ifneq ($(CONFIGURE_COMMAND_LINE), )
 	  $(ECHO) "Re-running configure using arguments '$(CONFIGURE_COMMAND_LINE)'"