Skip to content

Commit 09098fe

Browse files
committed
Restore the ability to omit demos
Signed-off-by: Keith W. Campbell <keithc@ca.ibm.com>
1 parent 5ec5d12 commit 09098fe

File tree

2 files changed

+6
-27
lines changed

2 files changed

+6
-27
lines changed

closed/custom/Images-post.gmk

Lines changed: 0 additions & 26 deletions
This file was deleted.

make/Images.gmk

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
# or visit www.oracle.com if you need additional information or have any
2323
# questions.
2424
#
25+
# ===========================================================================
26+
# (c) Copyright IBM Corp. 2021, 2025 All Rights Reserved
27+
# ===========================================================================
2528

2629
include MakeFileStart.gmk
2730

@@ -224,7 +227,9 @@ JDK_TARGETS += $(JDK_IMAGE_DIR)/lib/src.zip
224227
################################################################################
225228
# /demo dir
226229
# Avoid doing the expensive find unless called with "jdk" as target.
227-
ifneq ($(filter jdk, $(MAKECMDGOALS)), )
230+
ifeq ($(OPENJ9_ENABLE_DEMOS), false)
231+
# demos are unwanted
232+
else ifneq ($(filter jdk, $(MAKECMDGOALS)), )
228233

229234
DEMO_FILES := \
230235
$(if $(wildcard $(SUPPORT_OUTPUTDIR)/demos/image), \

0 commit comments

Comments
 (0)