From 3670fde77f4cbf699bb43866f0c2fb5a867f0fc5 Mon Sep 17 00:00:00 2001 From: Magnus Ihse Bursie Date: Fri, 4 Apr 2025 13:43:55 +0000 Subject: [PATCH] 8349467: INIT_TARGETS tab completions on "make" lost with JDK-8348998 Reviewed-by: erikj --- make/PreInit.gmk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/make/PreInit.gmk b/make/PreInit.gmk index b70e15a3b8c..a01971e845d 100644 --- a/make/PreInit.gmk +++ b/make/PreInit.gmk @@ -48,6 +48,10 @@ include $(TOPDIR)/make/common/LogUtils.gmk # a configuration. This will define ALL_GLOBAL_TARGETS. include $(TOPDIR)/make/Global.gmk +# Targets provided by Init.gmk. +ALL_INIT_TARGETS := print-modules print-targets print-configuration \ + print-tests reconfigure pre-compare-build post-compare-build + # CALLED_TARGETS is the list of targets that the user provided, # or "default" if unspecified. CALLED_TARGETS := $(if $(MAKECMDGOALS), $(MAKECMDGOALS), default) @@ -93,10 +97,6 @@ ifneq ($(SKIP_SPEC), true) # This will setup ALL_MAIN_TARGETS. $(eval $(call DefineMainTargets, FORCE, $(firstword $(SPECS)))) - # Targets provided by Init.gmk. - ALL_INIT_TARGETS := print-modules print-targets print-configuration \ - print-tests reconfigure pre-compare-build post-compare-build - # Separate called targets depending on type. INIT_TARGETS := $(filter $(ALL_INIT_TARGETS), $(CALLED_SPEC_TARGETS)) MAIN_TARGETS := $(filter $(ALL_MAIN_TARGETS), $(CALLED_SPEC_TARGETS))