mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 03:58:21 +00:00
8349665: Make clean removes module-deps.gmk
Reviewed-by: erikj
This commit is contained in:
parent
2e8b195a96
commit
f25f4a3eb2
@ -37,10 +37,6 @@ include MakeFileStart.gmk
|
|||||||
include $(TOPDIR)/make/InitSupport.gmk
|
include $(TOPDIR)/make/InitSupport.gmk
|
||||||
include LogUtils.gmk
|
include LogUtils.gmk
|
||||||
|
|
||||||
# Force early generation of module-deps.gmk
|
|
||||||
GENERATE_MODULE_DEPS_FILE := true
|
|
||||||
include Modules.gmk
|
|
||||||
|
|
||||||
# Inclusion of this pseudo-target will cause make to execute this file
|
# Inclusion of this pseudo-target will cause make to execute this file
|
||||||
# serially, regardless of -j.
|
# serially, regardless of -j.
|
||||||
.NOTPARALLEL:
|
.NOTPARALLEL:
|
||||||
@ -144,6 +140,14 @@ main: $(INIT_TARGETS)
|
|||||||
( cd $(TOPDIR) && \
|
( cd $(TOPDIR) && \
|
||||||
$(MAKE) $(MAKE_ARGS) -j 1 -f make/Main.gmk $(USER_MAKE_VARS) \
|
$(MAKE) $(MAKE_ARGS) -j 1 -f make/Main.gmk $(USER_MAKE_VARS) \
|
||||||
$(SEQUENTIAL_TARGETS) )
|
$(SEQUENTIAL_TARGETS) )
|
||||||
|
# We might have cleaned away essential files, recreate them.
|
||||||
|
( cd $(TOPDIR) && \
|
||||||
|
$(MAKE) $(MAKE_ARGS) -j 1 -f make/GenerateFindTests.gmk \
|
||||||
|
$(USER_MAKE_VARS) )
|
||||||
|
( cd $(TOPDIR) && \
|
||||||
|
$(MAKE) $(MAKE_ARGS) -j 1 -f make/Main.gmk $(USER_MAKE_VARS) \
|
||||||
|
UPDATE_MODULE_DEPS=true NO_RECIPES=true \
|
||||||
|
create-main-targets-include )
|
||||||
endif
|
endif
|
||||||
ifneq ($(PARALLEL_TARGETS), )
|
ifneq ($(PARALLEL_TARGETS), )
|
||||||
$(call PrepareFailureLogs)
|
$(call PrepareFailureLogs)
|
||||||
|
|||||||
@ -42,6 +42,12 @@ include MakeFileStart.gmk
|
|||||||
include $(TOPDIR)/make/MainSupport.gmk
|
include $(TOPDIR)/make/MainSupport.gmk
|
||||||
|
|
||||||
include FindTests.gmk
|
include FindTests.gmk
|
||||||
|
|
||||||
|
ifeq ($(UPDATE_MODULE_DEPS), true)
|
||||||
|
# Update module-deps.gmk if requested. This is read in Modules.gmk.
|
||||||
|
GENERATE_MODULE_DEPS_FILE := true
|
||||||
|
endif
|
||||||
|
|
||||||
include Modules.gmk
|
include Modules.gmk
|
||||||
|
|
||||||
# Are we requested to ignore dependencies?
|
# Are we requested to ignore dependencies?
|
||||||
|
|||||||
@ -268,11 +268,12 @@ define DefineMainTargets
|
|||||||
|
|
||||||
$$(main_targets_file):
|
$$(main_targets_file):
|
||||||
@( cd $$(TOPDIR) && \
|
@( cd $$(TOPDIR) && \
|
||||||
$$(MAKE) $$(MAKE_LOG_FLAGS) -r -R -f $$(TOPDIR)/make/GenerateFindTests.gmk \
|
$$(MAKE) $$(MAKE_LOG_FLAGS) -s -r -R -f $$(TOPDIR)/make/GenerateFindTests.gmk \
|
||||||
-I $$(TOPDIR)/make/common SPEC=$$(SPEC_FILE) TOPDIR_ALT=$$(TOPDIR))
|
-I $$(TOPDIR)/make/common SPEC=$$(SPEC_FILE) TOPDIR_ALT=$$(TOPDIR))
|
||||||
@( cd $$(TOPDIR) && \
|
@( cd $$(TOPDIR) && \
|
||||||
$$(MAKE) $$(MAKE_LOG_FLAGS) -r -R -f $$(TOPDIR)/make/Main.gmk \
|
$$(MAKE) $$(MAKE_LOG_FLAGS) -s -r -R -f $$(TOPDIR)/make/Main.gmk \
|
||||||
-I $$(TOPDIR)/make/common SPEC=$$(SPEC_FILE) TOPDIR_ALT=$$(TOPDIR) NO_RECIPES=true \
|
-I $$(TOPDIR)/make/common SPEC=$$(SPEC_FILE) TOPDIR_ALT=$$(TOPDIR) \
|
||||||
|
UPDATE_MODULE_DEPS=true NO_RECIPES=true \
|
||||||
$$(MAKE_LOG_VARS) \
|
$$(MAKE_LOG_VARS) \
|
||||||
create-main-targets-include )
|
create-main-targets-include )
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user