Skip to content

Commit 95e2d49

Browse files
authored
Merge pull request ibmruntimes#112 from keithc-ca/no-j9jcl
Avoid generating j9jcl sources for more targets
2 parents c3e7069 + 47dff14 commit 95e2d49

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

closed/make/common/Modules.gmk

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# ===========================================================================
2-
# (c) Copyright IBM Corp. 2017 All Rights Reserved
2+
# (c) Copyright IBM Corp. 2017, 2018 All Rights Reserved
33
# ===========================================================================
44
#
55
# This code is free software; you can redistribute it and/or modify it
@@ -28,10 +28,11 @@ TOP_SRC_DIRS += \
2828
#
2929

3030
# Shortly after this makefile fragment is included, Modules.gmk computes the
31-
# list of modules. Unless a goal is to 'clean' something, we need to force
32-
# generation of J9JCL java code now, otherwise that list may be incomplete.
33-
#
34-
ifeq (,$(findstring clean,$(MAKECMDGOALS)))
31+
# list of modules. Unless a goal is for 'help' or to 'clean' something, we
32+
# need to force generation of J9JCL java code now, otherwise that list may
33+
# be incomplete.
34+
35+
ifeq (,$(filter clean% dist-clean help,$(MAKECMDGOALS)))
3536
BUILD_OPENJ9_TOOLS := $(shell ($(CD) $(SRC_ROOT)/closed && $(MAKE) -f OpenJ9.gmk SPEC=$(SPEC) BOOT_JDK=$(BOOT_JDK) build-openj9-tools))
3637
GENERATE_J9JCL_SOURCES := $(shell ($(CD) $(SRC_ROOT)/closed && $(MAKE) -f OpenJ9.gmk SPEC=$(SPEC) generate-j9jcl-sources))
3738
endif

0 commit comments

Comments
 (0)