Skip to content

Commit 951f277

Browse files
committed
8264874: Build interim-langtools for HotSpot only if Graal is enabled
Reviewed-by: kvn, erikj
1 parent 719f95e commit 951f277

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

make/Main.gmk

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2011, 2020, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2011, 2021, Oracle and/or its affiliates. All rights reserved.
33
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
#
55
# This code is free software; you can redistribute it and/or modify it
@@ -92,9 +92,11 @@ $(eval $(call SetupTarget, buildtools-modules, \
9292
MAKEFILE := CompileModuleTools, \
9393
))
9494

95+
# interim-langtools is needed by hotspot only when $(INCLUDE_GRAAL) is true
96+
GRAAL_INTERIM_LANGTOOLS_true = interim-langtools
9597
$(eval $(call SetupTarget, buildtools-hotspot, \
9698
MAKEFILE := CompileToolsHotspot, \
97-
DEPS := interim-langtools, \
99+
DEPS := $(GRAAL_INTERIM_LANGTOOLS_$(INCLUDE_GRAAL)), \
98100
))
99101

100102
################################################################################

0 commit comments

Comments
 (0)